Community Profile

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

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

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

9 years ago | 2 answers | 0

2

answers

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

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

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

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

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

9 years ago | 2 answers | 0

2

answers