I have a function f(W,x), where W is a matrix and x is a vector. I would like to use arrayfun to calculate the f(W,x) for several x but constant/fix W. What is the syntax?
MATLAB: How to use arrayfun with a function having two vector arguments
arrayfunctionmatrixvector
Related Question
- Passing array arguments to an anonymous function
- I have 28*6 cell as seen in the picture. Except for the first column, I need all the other columns to have equal lengths by filling them up with zeros in the end. Thanks in advance.
- Take specific elements from each cell of a cell array
- Insert a string section on the numbers in a vector
- Split vector by value ranges
- Find row and collumnumber in matrix.
Best Answer