Thread Closed

Matlab and arrays

 
Share Thread Thread Tools
Jun25-09, 11:47 AM   #1
 

Matlab and arrays


Hello,

I am new to Matlab, and Im having trouble with some basic programming

I am trying to create an array (lets call it S) that has certain statuses (for now lets say it has 3 statuses). then

for i=1:10

I am trying to read the status, determine with some other logic if I need to change to statuses to another number and accordingly update it. Not just that but then I want to expand the array. so for now I have 3 numbers in the array, but want to expand it to 10 numbers....

any ideas/ examples on how to do that?
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> 'Whodunnit' of Irish potato famine solved
>> The mammoth's lament: Study shows how cosmic impact sparked devastating climate change
>> Curiosity Mars rover drills second rock target
Thread Closed

Tags
matlab
Thread Tools


Similar Threads for: Matlab and arrays
Thread Forum Replies
MATLAB - working with struct arrays Math & Science Software 0
Arrays c++ Programming & Comp Sci 14
Combining 2 two-dimensional cell arrays in MATLAB Math & Science Software 2
Matlab help, creating a map from three arrays Math & Science Software 0
Three-way arrays Linear & Abstract Algebra 12