photo

Isiah Pham


Last seen: mer än 4 år ago Active since 2020

Followers: 0   Following: 0

Student

Statistics

  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Answered
How to assign a different color to lines being plotted in a loop?
You can make a cell array for each color you want and the pull from it colors = {['red'],['blue']} for rep = 1:2 plot((x,...

mer än 4 år ago | 1

Answered
while loop for a date input
When you assign variables, it's variable = action; When you assigned date1 to a 0, it's stays that way. What you want i...

mer än 4 år ago | 0

Answered
For loop changing variables and comparing results
time_range = 10; y = zeros(1,time_range); for x = 0.5:0.5:1 for t = 1:1:length(time_range) x = 0.5; y...

mer än 4 år ago | 0

| accepted

Answered
Values of an array should be equal to or greater than the value before - values of array in relation to one another
So if I have a matrix of cases = [1:10,9], you can use a for loop to go through each number in the matrix and check that it is g...

mer än 4 år ago | 0