photo

Kaelan Wade


Last seen: mer än 2 år ago Active since 2017

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
Minimum value,row and column
Can't you just go * A = some matrix * [row,collum] = find(A == min(min(A))) * min_val = S(row,collum)

mer än 7 år ago | 0

Question


Is there a way to return a variable name from the variable value?
Just say a=2; is there a way to return an answer of a using the value 2?

mer än 7 år ago | 2 answers | 0

2

answers

Question


How do i print '^' in sprintf?
* Just say * a = 2 * b = 3 * and i wanted to print " a*x^b " using sprintf * why is it when in use sprintf('%.2f*x^%.2f',a...

mer än 7 år ago | 1 answer | 0

1

answer

Answered
Plotting multiple lines with difference specific colours via plot function
You can't combine everything into one single plot function. What you can do is combine different plots via using hold on/off ...

mer än 7 år ago | 1

Question


Plotting multiple lines with difference specific colours via plot function
Is there any way to use the plot function to plot multiple lines, each having a specific colour? e.g plot(x1,y1,'-','color',[...

mer än 7 år ago | 2 answers | 0

2

answers