Community Profile

photo

Michael Vaughan


Last seen: 대략 3년 전 2020년부터 활동

통계

  • Thankful Level 3

배지 보기

Content Feed

보기 기준

질문


Writing a recursive matlab code that can perform column-oriented substitution
I'm trying to write a code that can perform forward substitution for the equation Ax=b where A is a lower triangular matrix and ...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


If I have an nxn matrix, how do I compute it's j'th principal minor using matlab?
If I have an nxn matrix, how do I compute it's j'th principal minor using matlab? the j'th principal minor is the jxj matrix ...

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

1

답변

질문


Why is my code not working?
I want the following script to calculate: $$J_{(2,k)}(N)=\frac{1}{s-s^{-1}}{\sum_{j=\frac{-(N-1)}{2}}^{\frac{(N-1)}{2}}(s^{4j...

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

1

답변

질문


Trying to write a script to calculate a sum
Can somebody show me how to write a script to calculate the following function of N? It just confuses me a bit because if is an...

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

1

답변

질문


expanding a given function as a power series?
say I have a function, for example f(x)=x^3+2x. I want to know how take an arbitrary function like this, and for each value sup...

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

1

답변

질문


Need help programming a few tricky calculations!!
Can somebody show me how to write a program to calculate a program that you input and N and the output is: thank you edit:...

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

1

답변

질문


evaluate symbolic expression... can't figure out!!
so I have declared syms v t then I have defind this very long expression rw11 to be: rw11= -(t^(2 - 2*k)*v^(k - 2)*(t - ...

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

1

답변

질문


Code is not working, can someone help me?
So I have successfully written scripts for three different functions of 3 variables, Sum1(x,y,z) Sum2(x,y,z) and Sum3(x,y,z) I ...

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

1

답변

질문


Why is this code not working whilst the other is?
I have written this script: function sum = Sum2(x,y,z) s = 0; for i=0:min(x,y) for k=0:y-i s = s + (-1)^k *...

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

1

답변

질문


Trying to code a tricky double summation
So I'm trying to write code that calculates the following: I have two functions of the same two variables, call them D(x,y) a...

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

1

답변

질문


Trying to code a tricky double summation
So I'm trying to write code that calculates the following: I have two functions of the same two variables, call them D(x,y) a...

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Multiple functions working together?
here is my code in a script coding window: function [n] = n(x) syms q [n]=(q^(x/2)-q^(-x/2))/(q^(1/2)-q^(-1/2)); end func...

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Help calling my basic function
So I wrote the following in a script coding window: function [n] = n(x) syms q [n]=(q^(x/2)-q^(-x/2))/(q^(1/2)-q^(-1/2)); ...

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Help creating a basic function
So I already created the following script: function [n] = n(x) syms q [n]=(q^(x/2)-q^(-x/2))/(q^(1/2)-q^(-1/2)) end Whi...

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

1

답변

질문


Why is my function not working?
I wrote this in a coding window: function z = z(x) z = (v^(x/2)-v^(-x/2))/(t^(x/2)-t^(-x/2)); end then I saved it, went to...

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Getting a function I downloaded online to run
Hey guys, I'm extremly new to programming, so be patient with me! I downloaded this script: https://www.mathworks.com/matlabc...

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

1

답변

질문


Indexing the output of the function nsumk
Hey guys, I'm really new to programming. I just figured out how to add a path and get the program nsumk working. When I type...

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

1

답변

질문


How do I run a function I downloaded?
So I downloaded this script nsumk to do some cool partition of integers for me: https://www.mathworks.com/matlabcentral/fileexch...

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

1

답변

질문


Simplifying a matematical expression
I have this following beastly expression typed up very nicely in LaTeX formatting, as you can see. Is there anyway that I can en...

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

1

답변