Community Profile # Allison Sims

Last seen: 2 months ago Active since 2022

#### Statistics

• #### Content Feed

View by

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

2 months ago | 1 answer | 0

### 1

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

2 months ago | 1 answer | 0

### 1

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

2 months ago | 2 answers | 0

### 2

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

2 months ago | 1 answer | 0

### 1

Question

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

2 months ago | 2 answers | 0

### 2

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

3 months ago | 0 answers | 0