photo

Allison Sims


Last seen: oltre 2 anni fa Attivo dal 2022

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta