how can i assign values to variables?
Show older comments
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 Comments
cemsi888
on 28 Jan 2015
cemsi888
on 28 Jan 2015
Guillaume
on 28 Jan 2015
You seem to be asking variations of the same question, always without much details.
In particular, it's really not clear what you want do with the data once we've shown you how to do whatever you're asking. It may well be that what you're asking is not what you need anyway.
Also, how did you get your two cell arrays in matlab, possibly there is a smarter way to load your data that gives you what you want straight away
It would also help if you used proper terminology. parameter has no meaning. You can assign values to variables.
In this particular case, it's unclear what output you want? A structure with field names that are the value from your first cell array and values that are the matrices from your second cell array? Individual variables named after the values from your first cell array (possible, but not a good idea)?
Finally, in your example, zeite has indeed 181 elements, but dataArray has 182.
cemsi888
on 28 Jan 2015
@cemsi888: You keep asking the same question:
The very first time you asked got a very reasonable answer, so what has changed?
Accepted Answer
More Answers (0)
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
