plot a surcafe having different length vectors and cell array
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a cell array of 7x7(see the picture). Inside every cell there are different number of values. For example in (2,2) there are 4 values and in (2,7) are 5.
I want to create a scatter or a surface plot in which:
In X axis be a row vector 1x7 (mppvals,see the picture)
In Y axis be a row vector 1x7 (uvals,see the picture)
And in the Z axis be every number of the cell array in every condition.
For example when the X has the second value of the row vector (1.60 an Y has also the second value of the other row vector (0.1), in the Z axis will be the values of (2,2) from the array.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/229898/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/229899/image.jpeg)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geology 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!