フィルターのクリア

how can i assign values to variables?

2 ビュー (過去 30 日間)
cemsi888
cemsi888 2015 年 1 月 28 日
編集済み: Stephen23 2015 年 1 月 28 日
Good Morning every one!! Today i have question too. i have one Matrix which Name is zeile and it includes 181 cell Array which are my 181 Parameters. In Addition i have one Matrix too.Its Name is dataArray and in this Matrix i have all values that belong to 181 Parameter.My question is how can i assign my values to These Parameters?
  5 件のコメント
cemsi888
cemsi888 2015 年 1 月 28 日
first of all i got Experiment results as a text file which includes Parameters and values. First of all i read with textscan all my Parameters and than i created my Matrix zeile which includes 181 variables. after that i read values or results of Experiment which Name is dataArray .I checked it last column (182) is empty.Every column in dataArray must be send to variable in Matrix zeile.I mean for one variable one column

サインインしてコメントする。

採用された回答

Stalin Samuel
Stalin Samuel 2015 年 1 月 28 日
for it=1:181
zeile{it,1}=dataArray{1,it}
end
  7 件のコメント
cemsi888
cemsi888 2015 年 1 月 28 日
As you see in attached file in Input_Map_1 there are 181 variables. i want to make calculation with them,But how can i call variables
. what is the correct code that i should write my m file??
cemsi888
cemsi888 2015 年 1 月 28 日
Any help!!!! i used str2mat to get the values but it does not work because i have 41*1 Matrix and when used this code i get 41*13 Matrix.. do you have any advice to me?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by