About 50 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. 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:

  3. How can I index a MATLAB array returned by a function without first ...

    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 assigning it to …

  4. 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 initialized values would …

  5. MATLAB m-file help formatting - Stack Overflow

    Oct 1, 2010 · 23 I could not find what formatting available to write help for your own MATLAB function. Very little information is available in official documentation. Do you know about any other formatting …

  6. Wanted: Matlab example of an anonymous function returning more …

    I use anonymous functions for simple data value transforms. The anonymous functions are defined with the following syntax sqr = @(x) x.^2; I would like to have a simple anonymous function that ret...

  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. MATLAB function syntax - Stack Overflow

    4 You have a syntax error, in the second line there shouldn't be a . after the 2nd m The if should be in a separate line from the function declaration.

  9. MATLAB | Invalid syntax for calling function 'cond' on the path. Use a ...

    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 the error, …

  10. How do I use a Python regex to match the function syntax of MATLAB?

    Feb 5, 2010 · Of course, many m-files contain more than 1 function, so you will have to decide how to deal with subfunctions, nested functions, and potentially even anonymous functions (which have a …