**Statistics**

RANK**192**

of 247 089

REPUTATION**410**

CONTRIBUTIONS

**6** Questions

**202** Answers

ANSWER ACCEPTANCE **
66.67%
**

VOTES RECEIVED**59**

RANK**1 364** of 17 227

REPUTATION**1 241**

AVERAGE RATING**3.20**

CONTRIBUTIONS**3** Files

DOWNLOADS **9**

ALL TIME DOWNLOADS**12323**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Repeated Measure ANOVA 2x2

@Sara Romanella, The attached script does a two-way ANOVA with repeated measures, as before, and it does a 3-way ANOVA (without...

5 dagar ago | 0

Repeated Measure ANOVA 2x2

@Sara Romanella, Here is a Matlab solution. I put your data into a text file, data.txt (attached). The script reads the text ...

5 dagar ago | 0

Repeated Measure ANOVA 2x2

@Sara Romanella, don't have the Matlab yet but here it is in Excel. The ANOVA section at bottom right of the image shows the ...

6 dagar ago | 0

Func returns a vector of length 2, but the length of initial conditions vector is 9.

@Arda Canbas, Your initial conditions should be a 2-element vector, since mbk() returns a 2-componnt vector. So do tspan=[0 1...

6 dagar ago | 0

How to measure the angle between the poles and the x-axis using the Root Locus?

@Tarek Hajj Shehadi, Suppose you have a real-axis pole , or a zero at , on the real axis at position . And suppose you have a ...

6 dagar ago | 0

| accepted

I have differential equations and I need to write them into a vector function

@ssmith, The documentation for ode45() is really good, I think. Can you make an effort at writing some code, and post what you...

16 dagar ago | 0

multiple second order differential equations solution

@Arun Gowda, if you read the help on ode45, it is pretty clear on how to do this. The equations you wrote are 4 separate pair...

17 dagar ago | 0

I want to apply moving average filter! could you tell me how can I do that?

@James James, Here's a method that hadles the edges better, and is more elegant, because it eliminates for loops. t=0:100; x...

18 dagar ago | 0

I want to apply moving average filter! could you tell me how can I do that?

@James James, everything @Adam Danz said is correct. But here's an example, assuming you want a "flat" moving average: t=0:100...

18 dagar ago | 0

3D from multiple 2D curves

@Ivo Grigoli, Suppose you have M different curves y1(x), y2(x),...,yM(x), and they each have N points. Let's assume you also ha...

19 dagar ago | 0

| accepted

Why doesn't the code for cardiac cycle with varying resistance and capacitance run?

@Timothy Jen Roxas, I saved your program as script CVSimMatlabCentral.m. I ran it, with this result: >> CVSimMatlabCentral U...

22 dagar ago | 1

| accepted

Rotation of 3 vectors together

@Ozzy , Here is code that adjusts a rotation matrix to get the best fit. Best fit is defined as the minimum error between the d...

24 dagar ago | 1

| accepted

Rotation of 3 vectors together

Rotations preserve angles between vectors. You multiply the array of column vectors by a 3x3 rotation matrix. x = [0;0;1]; y...

25 dagar ago | 1

How to vertically concatenate files with spectral data that may be in xlsx, csv or a MATLAB dataset format

@Glyn Troup, Here is a demonstration using text files. Each file has a column of 10 numbers. The output array is interleaved a...

25 dagar ago | 0

| accepted

Calculate Rotation matrix from 3 points

@Jimmy Neutron, A rotation in three dimensions has three degrees of freedom, so you need to know three "before" points and thre...

25 dagar ago | 0

Solve ode system numerically

@Zhaokai Yin, This is a good question. I thought it could be done with ode45, by using the mass matrix option. This appears to...

ungefär en månad ago | 0

how to generate a( 226 × 1 ) vector "b" as a zero mean white Gaussian noise (WGN) sequence with variance =0.24e-4 ?

@ad lyn b=wgn(226,1,.24e-4,'linear'); fprintf('Variance of b=%6f\n',var(b)) If you run the code above multiple times, you wil...

ungefär en månad ago | 0

| accepted

How to fit a function with an integral term to a set of data?

@alfredo scigliani, This fitting problem is complicated, since the function to be fitted is an integral. You can pass the pa...

ungefär en månad ago | 1

| accepted

Write a MATLAB program to draw the surfaces z=sqrt(x^2+y^2), z=x^2+y^2, z=x+y and a cylinder of radius 3 using subplot

@Vansh Yadav You are being asked do draw four surfaces in different parts of a single figure. See the help for subplot() for e...

ungefär en månad ago | 1

| accepted

Hello All .I want a solution with a simple explanation

Since I'm not good at symbolic math in Matlab, I'll give an example of how to do this problem non-symbolically. The code below ...

ungefär en månad ago | 1

| accepted

Hello All .I want a solution with a simple explanation

@Walter Roberson said he is correcting your syntax, but not your logic. @Walter Roberson sees that there are logical errors in ...

ungefär en månad ago | 0

Time dependent heat transfer

@Bruce Griffin, here is the code that does the simulation. The original incorrect answer equation is in the code, but it is com...

2 månader ago | 0

Time dependent heat transfer

@Bruce Griffin, I added code to do an actual simulation. I found an interesting and instructive result. When numx=1000 and numt...

2 månader ago | 0

Time dependent heat transfer

@Bruce Griffin, Change nmax from 1 to 500. I really like how you used meshgrid to generate all the time, position combintions ...

2 månader ago | 0

| accepted

Time dependent heat transfer

@Bruce Griffin, You said the third [side] is at 100. That is not true. This problem has one spatial dimension and one time dime...

2 månader ago | 0

How to define a path from a set of x-y points and estimate its smoothness?

@Luigi Truppa, Example with two paths, each with 51 waypoints. Path A is a sequence of random points. Path B is a circle. ...

2 månader ago | 0

How to compute the average path from scattered data (and its variance)?

@Alberto Bacchin, here's another plot you can make, if you use the mean-of-the-normalized paths approach (pathSimulateAndAverage...

2 månader ago | 0

How to compute the average path from scattered data (and its variance)?

@Alberto Bacchin, Since you said you do not care about time, it is OK to normalize all the paths to have the same number of ste...

2 månader ago | 0

Filling incomplete data with cftool

@Nicolas Silva Schmalbach See attached. %replaceNaNs.m WCRose 20210928 %Replace NaN values in array with interpolated value...

2 månader ago | 0

| accepted

Output data to text file

@Tyler Bodnarik, On Matlab 2021, use writetable() or dlmwrite(). See help for each. On Matlab 2018, use dlmwrite(), since writ...

2 månader ago | 0

| accepted