how can i convert cell to matrix?
1 回表示 (過去 30 日間)
古いコメントを表示
vishnuvardhan naidu tanga
2020 年 6 月 3 日
コメント済み: vishnuvardhan naidu tanga
2020 年 6 月 3 日
Hello,
I am trying to convert the data obtained into matrix. so the dimensions of the T, P and h_out after I run the code are 1x999. is there any way to convert the scalar cell of h_out to matrix or vector?
Please guide me.
a = 1000;
b = 1;
h_out = zeros(1,((a-1)/b));
L = length(h_out);
for i = 1:L
T(i)= 1+b*i;
p(i) = 1+b*i;
h_out(i) = XSteam('h_pT', p(i), T(i));
end
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!