Community Profile

photo

Ashley Nelson


Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


How can I fix my while loop?
Hi! I am trying to create a program that reads a cell array and computes the answer ex: t = {'mult','add','2','3','stop','add...

5 years ago | 0 answers | 0

0

answers

Question


Index in position 2 exceeds array bounds (must not exceed 6)?
Hi! I am trying to create a program that reads a cell array and computes the answer ex: t = {'mult','add','2','3','stop','add...

5 years ago | 1 answer | 0

1

answer

Question


I am trying to check if a value of a vector is equal, but it is a word not a number. how can I do that?
Hi, I have a vector >> t = {'add','23','27','pow','3','2','2','stop','4','stop', ... % 'mult','...

5 years ago | 1 answer | 0

1

answer

Question


if I were to do a=[1,2,3,4....1000] and b=[1,2,3] and c=[4,5,6] how can i put them in as values of (b1, c1)(b2, c2) and test that through for every value within a? ex. (a*5)+(a*(BVALUE))/(CVALUE)
i am trying to run specific values (b1,c1)(b2,c2) and so on from b=[1,2,3] c=4,5,6] through an equation that uses a vector a=[1,...

6 years ago | 1 answer | 0

1

answer

Question


how can i have a specific set of values run through an equation?
i am trying to run specific values (b1,c1)(b2,c2) and so on from b=[1,2,3] c=[4,5,6] through an equation that uses a vector a=[1...

6 years ago | 0 answers | 0

0

answers

Question


How do I use each value in a vector as its own variable to be tested in relation to another variable in its respective vector?
Hello, Im trying to take data values like a=[1,2,3,4] and b=[5,6,7,8] and c=[7,8,9,10] and put them into an equation such as x=a...

6 years ago | 1 answer | 0

1

answer

Question


How do I set every other number in an array to a specific number with one line?
I'm trying to set every other element within an 5x5 array to 100 (so (1,1) (1,3) (1,5) ETC.) Within a single line of code. Im no...

6 years ago | 2 answers | 0

2

answers

Question


Help i get the error Subscript indices must either be real positive integers or logicals.
here is my code, %Matlab HW 6 %Created February 19, 2017 by Ashley Nelson % %Input Variables: %Pdesrd= the desi...

7 years ago | 2 answers | 0

2

answers