Branden Chamness


Aktiv seit 2015

Followers: 0   Following: 0

Statistik

Feeds

Anzeigen nach

Beantwortet
How can I complete summation of variable named matrices in loop?
figured it out from another thread: sumCST1 = zeros(size(s_1)); for i = 1:N s = ['s_' num2str(i)]; ...

mehr als 7 Jahre vor | 0

| akzeptiert

Frage


How can I complete summation of variable named matrices in loop?
If matrices are variable (1:N) with names s_1:s_N how can I complete summation of the matrices. Below is my current script which...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to complete summation with column vectors?
I have the following summation I need to complete. x is a column vector of Nx1 and and u is an Nx1 column vector as well. i_th c...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Having issues assigning my output vector in the function below. When I try to call output vector x1(k) I get the error listed. I solved this issue before in my other output 'ex(1)' by using absolute value. Not sure what notation issue is with x1(1).
Error at line x1(1) = x + y/jac In an assignment A(I) = B, the number of elements in B and I must be the same. function...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
What does the following error mean? Undefined function 'diffjac' for input arguments of type 'function_handle'. Error in Heq_Nwt (line 23) df = diffjac(x1,f,f0)
Should I match my inputs to match diffjac and dirder? For example my input is 'x1' while diffjac and dirder is 'x'. See any ...

mehr als 9 Jahre vor | 0

Beantwortet
What does the following error mean? Undefined function 'diffjac' for input arguments of type 'function_handle'. Error in Heq_Nwt (line 23) df = diffjac(x1,f,f0)
Results are: 'diffjac' not found. I added diffjac.m file to directory. It is as follows: function [l, u] =diffjac(x...

mehr als 9 Jahre vor | 0

Frage


What does the following error mean? Undefined function 'diffjac' for input arguments of type 'function_handle'. Error in Heq_Nwt (line 23) df = diffjac(x1,f,f0)
My code is below. Not sure why I cannot use diffjac function. I also get an error for input arguments of type 'double' if I chan...

mehr als 9 Jahre vor | 4 Antworten | 0

4

Antworten

Beantwortet
Can someone help me setup the Chandrasekhar H-equation in Matlab?
I used the following for summation and I am not receiving any errors in = @(x1) sum(x1.*(ChH'./(ChH+ChH'))) I'd l...

mehr als 9 Jahre vor | 0

Frage


Can someone help me setup the Chandrasekhar H-equation in Matlab?
I have a couple errors I cannot seem to resolve. Below is the discrete equation form. <</matlabcentral/answers/uploaded_f...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten