フィルターのクリア

How to read data from a Cell?

1 回表示 (過去 30 日間)
R7 DR
R7 DR 2015 年 3 月 5 日
回答済み: Adam 2015 年 3 月 5 日
I am reading the data from a smoothed curved. I wrote the code as...
figure
f = fit(t15, alpha15, 'smoothingspline', 'SmoothingParam', 0.6)
g=plot(f, t15, alpha15)
x15=get(g,'XData');
y15=get(g,'YData');
The data values are stored in a cell as shown in the image. Now I have to load the data from the second cell into another variable. how to write the code?
Thanks

回答 (1 件)

Adam
Adam 2015 年 3 月 5 日
otherVariable = Tx5{2};
will put a 1x1118 size double vector into 'otherVariable' if that is what you want (even if it isn't what you want, in fact!).

カテゴリ

Help Center および File ExchangeData Import and Analysis についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by