How to pass a vector to a function that creates matrix
1 view (last 30 days)
Show older comments
b=[1 2 3];
T=inline('[b(i)+9 8;8 7]' , 'i')
I'm trying to make a matrix that works like this:
I input T(i)
so that the output will be :
b(i)+9 8
8 7
how can i do that ?
0 Comments
See Also
Categories
Find more on Data Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!