필터 지우기
필터 지우기

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 CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by