Community Profile

photo

Yuxing Zhang


Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


How should I make this for loop
I have a dam problem which asks the dam reservior is a cylinder withinflow Q (in Q_data.mat), turbine flow rate (Q_turbine) is a...

5 years ago | 0 answers | 0

0

answers

Question


How to compute an inner product?
Can someone help me with the code of getting this inner product, thank you very much!

5 years ago | 0 answers | 0

0

answers

Question


How can I create a 2-D movie for my simulation?
I am writing a solver for the streamfunction equations (2) and compelete the solver part already. But it still requests to s...

5 years ago | 1 answer | 0

1

answer

Question


What's wrong with my ode45 function?
I am using the ode45 to solve streamfunction and I compelete my functions and main script but always have wrong in ode 45 functi...

5 years ago | 1 answer | 0

1

answer

Question


How can I use FFT to solve this function?
My problem is to solve the treamfunction satisfication use FFT method and I do not have ideas how to do it, can anyone help me...

5 years ago | 0 answers | 0

0

answers

Question


How to check the state response and output response of a state space model
I now have a SISO state space model like below and get the transfer function, so how can I use MATLAB code to check its state re...

5 years ago | 1 answer | 0

1

answer

Answered
A strange issue in calculating the transfer function
I find out the issue, no need to answer this, I just make mistake in calculating the adjoint

5 years ago | 0

| accepted

Question


A strange issue in calculating the transfer function
I have a SISO state space model like below,but the transfer function I get from MATLAB doesn't match my calculation.The adjoint ...

5 years ago | 1 answer | 0

1

answer

Question


Permute my center blocks
I have a matrix A with center piece (80×80) and I have now divided into 16 blocks of size 20×20. I also have a permutation vecto...

5 years ago | 1 answer | 0

1

answer

Question


How can I index these matrix blocks into numbers?
I have a 80×80 matrix A and divide it into 16 blocks of size 20x20, by A=rand(80,80); C= mat2cell(A,[20 20 20 20 ],[20 ...

5 years ago | 1 answer | 0

1

answer

Question


How can I permute the matrix block?
Says I now have a 400x400 matrix A, and want to permute the middle 80x80 part, which I need to divide into 16 blocks of each siz...

5 years ago | 1 answer | 0

1

answer

Question


Find two orthonormal vectors of x1,x2
I have two vectors x1=[2;-3;1] and x2=[1;1;-1], which says the span of these two vectors are all vectors of the a1*x1+a2*x2. and...

5 years ago | 1 answer | 0

1

answer

Question


A question to improve my loop of ODE
I have a question which asks to solve a ODE problem, and I have done the main part codes except one loop. It asks to set dt=2^-2...

5 years ago | 0 answers | 0

0

answers

Question


How can I transfer these equations into MATLAB codes?
I am new with MatLab,and I want to know how can I transfer the following vibration equations into MatLab codes. X''=-(M^-1)...

5 years ago | 0 answers | 0

0

answers

Question


A question about generating a matrix
If I want to have a matirx which follows the change of n, says when n=2, A=[0 1] when n=3,A=[0 0 1], n=5, A=[0 0 0 0 1]. How c...

5 years ago | 1 answer | 0

1

answer

Question


How can I generate a vibration system with 3 states?
Can anyone tell me how to generate a simple model of vibration with 3 states if the total mass be mtotal = 1 and stiffness ktota...

5 years ago | 0 answers | 0

0

answers