I want to assign values from a 1d array to 2d array. How should I do it?
显示 更早的评论

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'."
采纳的回答
更多回答(1 个)
Azzi Abdelmalek
2013-8-21
0 个投票
x is not defined in your code
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!