Community Profile

photo

Allison Sims


Last seen: 4달 전 2022년부터 활동

Statistics

  • Thankful Level 3

배지 보기

Content Feed

보기 기준

질문


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달 전 | 답변 수: 1 | 0

1

답변

질문


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달 전 | 답변 수: 1 | 0

1

답변

질문


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달 전 | 답변 수: 2 | 0

2

답변

질문


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달 전 | 답변 수: 1 | 0

1

답변

질문


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

5달 전 | 답변 수: 2 | 0

2

답변

질문


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달 전 | 답변 수: 0 | 0

0

답변

질문


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달 전 | 답변 수: 1 | 0

1

답변