답변 있음

how i can solve a system of 5 equation where there is numbers

You should be able to get a symbolic solution - makes no difference what the values of the parameters are. They don't come into ...

how i can solve a system of 5 equation where there is numbers

You should be able to get a symbolic solution - makes no difference what the values of the parameters are. They don't come into ...

8년 이하 전 | 0

답변 있음

I have a time domain signal.I want to calculate energy of my signal......

Your time values are more or less uniformly spaced with some slight variation but that shouldn't matter. Just type in the exact ...

I have a time domain signal.I want to calculate energy of my signal......

Your time values are more or less uniformly spaced with some slight variation but that shouldn't matter. Just type in the exact ...

8년 이하 전 | 0

답변 있음

how i can solve a system of 5 equation where there is numbers

Check the symbolic toolbox and "Mupad" that comes with it.

how i can solve a system of 5 equation where there is numbers

Check the symbolic toolbox and "Mupad" that comes with it.

8년 이하 전 | 0

답변 있음

Im getting the Error using inv Matrix must be square. error.

Instead of: t4=atan((a*sin(t2)+k)/(a*cos(t2)+d)) f=(a*cos(t2)+k)/cos(t4) did you mean: t4=atan((a*sin(t2)+k)./(a...

Im getting the Error using inv Matrix must be square. error.

Instead of: t4=atan((a*sin(t2)+k)/(a*cos(t2)+d)) f=(a*cos(t2)+k)/cos(t4) did you mean: t4=atan((a*sin(t2)+k)./(a...

8년 이하 전 | 0

답변 있음

I have a time domain signal.I want to calculate energy of my signal......

Use the fft() function to calculate fourier transform. Then take the of squares of the coefficients: F = fft(X); pow = ...

I have a time domain signal.I want to calculate energy of my signal......

Use the fft() function to calculate fourier transform. Then take the of squares of the coefficients: F = fft(X); pow = ...

8년 이하 전 | 0

| 수락됨

답변 있음

How can you avoid for loops by using vectorization?

The ratio of TotalCounter to ErrorCounter is extremely high. For just j = 4, TotalCounter goes up to 456,513. I didn't check ...

How can you avoid for loops by using vectorization?

The ratio of TotalCounter to ErrorCounter is extremely high. For just j = 4, TotalCounter goes up to 456,513. I didn't check ...

8년 이하 전 | 0

답변 있음

MATLAB coder - how can I add fields to an existing struct?

There are many restictions in converting Matlab to C via coder. Coder emits C code on the fly as it parses the .m file. It looks...

MATLAB coder - how can I add fields to an existing struct?

There are many restictions in converting Matlab to C via coder. Coder emits C code on the fly as it parses the .m file. It looks...

8년 이하 전 | 0

| 수락됨

답변 있음

How do you sum the number of boxes in this cell array?

You've got the cell referencing wrong. Try: nums = [boxData{2:3:end}]; % Note the square brackets. totalboxes = sum(nums...

How do you sum the number of boxes in this cell array?

You've got the cell referencing wrong. Try: nums = [boxData{2:3:end}]; % Note the square brackets. totalboxes = sum(nums...

8년 이하 전 | 0

답변 있음

Is there a one-step command that identifies the name of the caller workspace

I think there is no option but write one yourself and put it in your library. function name = wkname(wk) if (length(...

Is there a one-step command that identifies the name of the caller workspace

I think there is no option but write one yourself and put it in your library. function name = wkname(wk) if (length(...

8년 이하 전 | 0

답변 있음

How to plot x(i+1,j+1) with respect to i,j from the given data ,code shown in the body?

Hi Abhay, The problem as you as you have stated it is under-determined. What you additionally need are boundary conditions. F...

How to plot x(i+1,j+1) with respect to i,j from the given data ,code shown in the body?

Hi Abhay, The problem as you as you have stated it is under-determined. What you additionally need are boundary conditions. F...

8년 이하 전 | 0

| 수락됨

답변 있음

converting a minute chart

N = 4000000; C = reshape(Table(:, 4), [2,N/2]); Cmax = transpose(max(C, 1)); C = reshape(Table(:, 5), [2,N/2]); ...

converting a minute chart

N = 4000000; C = reshape(Table(:, 4), [2,N/2]); Cmax = transpose(max(C, 1)); C = reshape(Table(:, 5), [2,N/2]); ...

8년 이하 전 | 1

답변 있음

How to get just positive numbers which follows normal distribution?

There is no way to prevent a normally distributed variable from taking on negative values (otherwise you can't call it normally ...

How to get just positive numbers which follows normal distribution?

There is no way to prevent a normally distributed variable from taking on negative values (otherwise you can't call it normally ...

8년 이하 전 | 2

답변 있음

how to find vertices for a box

How is your rotation expressed? Is it two angles t1 and t2 that are rotations in two planes (say xy plane and xz plane)? In that...

how to find vertices for a box

How is your rotation expressed? Is it two angles t1 and t2 that are rotations in two planes (say xy plane and xz plane)? In that...

8년 이하 전 | 0

| 수락됨

답변 있음

Mean value in a cell array

Put square brackets around the cellarray contents like: M = [FinalResult{1:16,4}] m = mean(M,2); Putting the square b...

Mean value in a cell array

Put square brackets around the cellarray contents like: M = [FinalResult{1:16,4}] m = mean(M,2); Putting the square b...

8년 이하 전 | 2

답변 있음

Error in convolution of two gaussians using FFT and IFFT

xstep starts from -10, so the peak of y1 is actually at 15 and the peak of y2 is at 10 (fft() doesn't know about your x-axis). T...

Error in convolution of two gaussians using FFT and IFFT

xstep starts from -10, so the peak of y1 is actually at 15 and the peak of y2 is at 10 (fft() doesn't know about your x-axis). T...

8년 이하 전 | 0

답변 있음

how can remove circle from an image?

If thickness of circle boundary is exactly 1 pixel, then its easy. Loop over each point. For any point, (i,j) there are four ...

how can remove circle from an image?

If thickness of circle boundary is exactly 1 pixel, then its easy. Loop over each point. For any point, (i,j) there are four ...

8년 이하 전 | 0

답변 있음

Drawing a graph from a rational function. What is the problem in my code?

Star Strider has a point too. However with the values you have, linspace does not actually pass very close to -2 or 2. (Try lins...

Drawing a graph from a rational function. What is the problem in my code?

Star Strider has a point too. However with the values you have, linspace does not actually pass very close to -2 or 2. (Try lins...

8년 이하 전 | 0

답변 있음

Drawing a graph from a rational function. What is the problem in my code?

Since it is a discrete sequence of points, Matlab just connects the last point before -2 with the first point after -2. It has n...

Drawing a graph from a rational function. What is the problem in my code?

Since it is a discrete sequence of points, Matlab just connects the last point before -2 with the first point after -2. It has n...

8년 이하 전 | 0

답변 있음

Centering a rectangle using FillRect

You know the screen pixel dimensions. Using this change recta appropriately - its a simple calculation. Right now you have the t...

Centering a rectangle using FillRect

You know the screen pixel dimensions. Using this change recta appropriately - its a simple calculation. Right now you have the t...

8년 이하 전 | 0

답변 있음

how to addpath of +folder

Matlab does not allow you to add class directories or package directories individually to the path. You have to add the paren...

how to addpath of +folder

Matlab does not allow you to add class directories or package directories individually to the path. You have to add the paren...

8년 이하 전 | 0

답변 있음

Increase undo limit in Matlab editor

More and more, I'm realizing how badly Matlab deals with memory issues, starting from basic things like the editor. Cannot undo ...

Increase undo limit in Matlab editor

More and more, I'm realizing how badly Matlab deals with memory issues, starting from basic things like the editor. Cannot undo ...

8년 이하 전 | 0

질문

Increase undo limit in Matlab editor

Is it possible to increase the undo limit in the Matlab editor? It's happened several times that I I've tried to undo a long seq...

8년 이하 전 | 답변 수: 1 | 0

답변 있음

Problem with FFT and IFFT back to time doman, not exactly the first signal.

You have padded the original function with zeros upto the next power of 2. But when you take the inverse fft you only use the le...

Problem with FFT and IFFT back to time doman, not exactly the first signal.

You have padded the original function with zeros upto the next power of 2. But when you take the inverse fft you only use the le...

8년 이하 전 | 1

| 수락됨

답변 있음

How to get intervals according to conditions of other parameters?

Its a little tricky, unless you have a little more information. For example, do you know the number of increasing runs - call it...

How to get intervals according to conditions of other parameters?

Its a little tricky, unless you have a little more information. For example, do you know the number of increasing runs - call it...

8년 이하 전 | 0

답변 있음

finding multivariate pdf of normally distributed data?

Do you want the histogram of the data. If so, use the hist() function. If you want a theoretical normal marginal pdfs from th...

finding multivariate pdf of normally distributed data?

Do you want the histogram of the data. If so, use the hist() function. If you want a theoretical normal marginal pdfs from th...

8년 이하 전 | 0

답변 있음

Why using mldivide to solve high dimension linear equations would cause computational error

To the OP: Try taking different values of the RHS b. I'm pretty sure that for some particular vectors b, even the solution wi...

Why using mldivide to solve high dimension linear equations would cause computational error

To the OP: Try taking different values of the RHS b. I'm pretty sure that for some particular vectors b, even the solution wi...

8년 이하 전 | 1

답변 있음

How to get a geometric sequence?

Use the .^ operator and matrix multiplication T = v.^(0:9) * T1; T = ones(100,1)*T; T = T(:); Alternatively (maybe...

How to get a geometric sequence?

Use the .^ operator and matrix multiplication T = v.^(0:9) * T1; T = ones(100,1)*T; T = T(:); Alternatively (maybe...

8년 이하 전 | 0

답변 있음

[HELP NEEDED] loop over folder? and save them?

Assuming you want folder name, variable name and mat file name to be same: prodir_0 = 'C:\Users\user\Desktop\thesis' sav...

[HELP NEEDED] loop over folder? and save them?

Assuming you want folder name, variable name and mat file name to be same: prodir_0 = 'C:\Users\user\Desktop\thesis' sav...

8년 이하 전 | 1

| 수락됨

답변 있음

How can I make the algorithm finish the iterations with the specified tolerance?

Just as you have added the tag, "iterative solutions oscilate around the exact solution" yourself, this may be what is happening...

How can I make the algorithm finish the iterations with the specified tolerance?

Just as you have added the tag, "iterative solutions oscilate around the exact solution" yourself, this may be what is happening...

8년 이하 전 | 0

답변 있음

How to interpolate between matrices over time?

I misunderstood your problem the first time thinking that you wanted to find the temperature at time 10. But you want it the oth...

How to interpolate between matrices over time?

I misunderstood your problem the first time thinking that you wanted to find the temperature at time 10. But you want it the oth...

8년 이하 전 | 0