Community Profile

photo

Isiah Pham


Last seen: presque 4 ans il y a Actif depuis 2020

Student

Statistiques

  • Knowledgeable Level 1
  • First Answer

Afficher les badges

Content Feed

Afficher par

A répondu
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,...

presque 4 ans il y a | 1

A répondu
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...

presque 4 ans il y a | 0

A répondu
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...

presque 4 ans il y a | 0

| A accepté

A répondu
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...

presque 4 ans il y a | 0