Passing one variable out of a matrix
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi
I have code that calls a function and passes a matrix to it. In the called function, calculations are performed based on only one value at a time from that matrix. How can this be done? At the moment the calculations are using the complete matrix?
thanks
4 Kommentare
Walter Roberson
am 16 Feb. 2012
Duplicate is at http://www.mathworks.com/matlabcentral/answers/29259-i-m-missing-something
Antworten (1)
Walter Roberson
am 16 Feb. 2012
The code in your previous question on this topic was not using the entire dx1 matrix to calculate with. You must have made an error in your interpretation of the behavior of the function.
12 Kommentare
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!