photo

Isiah Pham


Last seen: circa 4 anni fa Attivo dal 2020

Followers: 0   Following: 0

Student

Statistica

  • Knowledgeable Level 1
  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
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,...

circa 4 anni fa | 1

Risposto
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...

circa 4 anni fa | 0

Risposto
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...

circa 4 anni fa | 0

| accettato

Risposto
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...

circa 4 anni fa | 0