photo

James Crowe


Last seen: 3년 초과 전 2017년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


How to find maximum without using max
The question is: Write a function to calculate the maximum row sum of a matrix A. The function should have as input a matrix...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How would I use fzeros in this?
Hi I want to use fzeros, but I'm not sure what to do to make it work in my code. You can probably understand what I'm trying to ...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How would I output the 'ans' as 'TaxPayable' instead?
Hi, how would I output the 'ans' as 'TaxPayable' instead. I'm also aware that this code is probably very inefficient, so any sug...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why will one of my lines of this function not work?
How comes the line elseif p == 2 doesn't work when using the function in a script, but the rest do? Is there a better way to do ...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why will my function not run?
Hi all, why will my function not run? If p = 1 I want to find the determinant of A, if p = 2 I want to find the trace of A and i...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Summing values in a loop
Hi, how would I add values in a loop after iteration. eg. say values that came out were 1,2,3,4,5. I would want an array of 1,3,...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How would I output this term as an array?
Hi, how would I output the iiTerm as an array, simply putting iiTerm after the loop and within the loop returns a singe value. T...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to store values as array
How do you store all k values as a single array? for ii = nn k = ((-1).^(ii-1)).*((xx^(2.*(ii-1))))./(factor...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


How to plot y = cos(pi/4)
How do you plot y = cos(pi/4)? Thank you

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


Plotting iterations of summations using a for loop.
Hi all, how would I plot every iteration of the sum? It's and approximation of cos, getting closer each iteration. Thank you in ...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


Plotting summation using for loop
How would I plot values of i for 1,2,3,4,5 individually on the same graph? x = -pi:0.1:pi; ye = cos(x); n = length(x); su...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


Trying to use summation notation in a for loop
Hi I'm trying to estimate a cos graph using summation between 1:1, 1:2, 1:3, 1:4 and 1:5. How would I plot each of these individ...

거의 7년 전 | 답변 수: 2 | 0

2

답변

질문


I'm trying to plot this graph with the x-values between -10 and 50, but the graph plots them between 0 and 60?
a = bin2dec('00010101') b = bin2dec('00010010') c = bin2dec('11000101') x =[(-10):1:50] y1 = (-b.*((x-a).^2))+c y2 = (c...

거의 7년 전 | 답변 수: 1 | 0

1

답변