Community Profile

photo

Allison Sims


Last seen: 4 mois il y a Actif depuis 2022

Statistics

  • Thankful Level 3

Afficher les badges

Content Feed

Afficher par

Question


I'm studying for an exam and I am stuck on this problem this is what I have so far...
All of the elements in the first row are the column number +2 and all of the elements in the first column are the row number + 3...

4 mois il y a | 1 réponse | 0

1

réponse

Question


Why is Q=30 after the loop is ran?
B=1; Q=0; if B==1 && Q~=B Q=20; if B<0 || Q==20 Q=30; end elseif B<10 Q=40; else Q=50; end disp(...

4 mois il y a | 1 réponse | 0

1

réponse

Question


After the if statement is ran why is the answer 10?
A=1; B=2; C=10; if A<0 C=5; if B==2 C=3; %I thought the answer would be 3 why is it 10? end end ...

4 mois il y a | 2 réponses | 0

2

réponses

Question


I'm new to Matlab and still learning, how do I go about solving this problem in simple terms?
You want to save some money. You start with $1000, and contribute $100 to the account each month. Using an interest rate of 5% A...

5 mois il y a | 1 réponse | 0

1

réponse

Question


Is this correct?
Use loops to compute and plot (not animated)the following piecewise function for ...

5 mois il y a | 2 réponses | 0

2

réponses

Question


I need to create the following plots in the same figure window but the green graph is remaining constant when it should be a negative graph
Whenever I run each graph separatly it displays correctly but when I try to have them all on the same plot using the hold on and...

5 mois il y a | 1 réponse | 0

0

réponse

Question


Sum values from one column vector based on another column vector
How do I compute this without using any loops or conditionals? I want to sum the values in column B based on if the value in co...

5 mois il y a | 1 réponse | 0

1

réponse