Branden Chamness


Active since 2015

Followers: 0   Following: 0

Statistics

Feeds

View by

Answered
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)]; ...

mer än 7 år ago | 0

| accepted

Question


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

mer än 7 år ago | 1 answer | 0

1

answer

Question


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

mer än 9 år ago | 2 answers | 0

2

answers

Question


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

mer än 9 år ago | 0 answers | 0

0

answers

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

Question


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

mer än 9 år ago | 4 answers | 0

4

answers

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

mer än 9 år ago | 0

Question


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

mer än 9 år ago | 2 answers | 0

2

answers