About 59,500 results
Open links in new tab
  1. What is the @ operator (at sign) in MATLAB? - Stack Overflow

    Jan 20, 2010 · I have some MATLAB programs that use the @ (at sign) as an operator. What does it mean? Does MATLAB 6.5 support this operator?

  2. How can I index a MATLAB array returned by a function without …

    However, MATLAB complains about Unbalanced or unexpected parenthesis or bracket on the first parenthesis before the 3. Is it possible to read values from an array/matrix without first …

  3. Is there a standard for writing the beginning comments of a …

    Is there a conventional format for writing the beginning description of a matlab file? Such as including author(s), version number, last revised on, etc. When I search for this all I find is info...

  4. How to deal with name/value pairs of function arguments in …

    May 6, 2010 · There is a nifty function called parsepvpairs that takes care of this nicely, provided you have access to MATLAB's finance toolbox. It takes three arguments, expected field …

  5. math - Optional args in MATLAB functions - Stack Overflow

    Jul 20, 2011 · How can I declare function in MATLAB with optional arguments? For example: function [a] = train(x, y, opt), where opt must be an optional argument.

  6. matlab - Keep getting invalid expression errors - Stack Overflow

    Aug 7, 2020 · The expression between parentheses in the function definition line should be the name of the parameter to the function, not a value. I think you mean: function sum_out = …

  7. What is the syntax of `i++` in Matlab - Stack Overflow

    Feb 18, 2015 · Is there a shortcut statement that would do what C code i++ would do? (that is to increase i by 1)? Of course i do not mean the obvious i = i + 1.

  8. Parse error at ' [' : usage might be invalid MATLAB syntax

    Jan 5, 2020 · The reason why I am doing that way is because the MATLAB function numjac requires all the necessary arguments and thought that passing a pre-allocated arrays of …

  9. matlab - predict function syntax isnt working to show the result ...

    May 12, 2023 · how to use the "predict" function in MATLAB when I have to predict an output for a 3-input and single output custom neural network? I have tried using the predict function using …

  10. MATLAB | Invalid syntax for calling function 'cond' on the path.

    Nov 19, 2021 · 0 cond () is the name of a built-in function. Matlab tolerates variables whose names collide with functions, but it can result in weird things like this. In the line that produces …