I want to assign values from a 1d array to 2d array. How should I do it?
Show older comments

Please copy paste above address if image is not visible.
The function tridiagonal(n) gives values of x in a 1 dimensional array. I want to assign it to 2 dimensional array of w(s,t). However it shows error saying "Undefined function 'x' for input arguments of type 'double'."
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 21 Aug 2013
0 votes
x is not defined in your code
Categories
Find more on Logical 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!