Answered
putting a trendline on a semi-log plot in MatLab.
@Shinichiro Shimata, Here is the solution. Your question demonstrates Matlab's power and code efficiency: it takes only 6 line...

5 years ago | 1

Answered
I do not understand why I get imaginary numbers as answers to this simultaneous equation I am trying to solve
@mintyfrezh, When you run the code you provided, eqns 1 and 2 are displayed: 87 sin x + 65 sin y = 31.47 (1) 87 cos x + 65...

5 years ago | 0

| accepted

Answered
How to use joint velocities
@NK, The velocities should match the units used elsewhere in your model, for example the units used to specify forces and momen...

5 years ago | 0

Answered
How to Find Prominence of Peaks
@Ephraim Bryski, Yes, the prominence is the fourth (and optional) output argument of findpeaks(). [pks,locs,w,p]=findpeaks(Dat...

5 years ago | 0

| accepted

Answered
plotting 3 independent data and 1 response (output)
@Abdulaziz Abutunis, What you are requesting would require a 4 dimensional plot. Let's call the output variable P and the input...

5 years ago | 0

| accepted

Answered
how to get horizontal coordinates a few mile from given coordinates?
@hye wook Kim, d=5 n.mi., R=earth radius=3440.1 n.mi, =30, =124, =30, =d/R. So the code is >> d=5; R=3440.1; lat0=30*pi/18...

5 years ago | 1

Answered
how to get horizontal coordinates a few mile from given coordinates?
I assume that 38,135 are the latitude and longitude of the center, and that you want the latitude and longitude for a point on a...

5 years ago | 1

| accepted

Answered
How pwelch computes confidence intervals
The 2-sided confidence interval (C.I.) with probability p on the power spectral denisty (p.s.d.), which is returned by pwelch(),...

5 years ago | 0

Question


logical arry indexing: how to extract columns that match a criterion
I want to extract columns from a 2D array, when the element in row 3 of the column matches a criterion. Example: >> rng(42); a=...

5 years ago | 1 answer | 0

1

answer

Question


why does windows command shell close?
in Matlab 2017a on Windows 10, I have compiled my Matlab script. I made sure the box "Do not display the Windows Command Shell (...

8 years ago | 1 answer | 0

1

answer

Question


help with find() or with logical indexing
I want to find array idx1, which is the values of array idx such that S(idx1) == j. Example: Suppose idx=[2 3 4 6 7 9 10...

8 years ago | 1 answer | 0

1

answer

Question


display info while ginput() waits
How can I display and update the current mouse position while ginput() is waiting for the user to click? I have tried using t...

9 years ago | 2 answers | 0

2

answers

Submitted


mdl(m)
MDL: returns Rissanen's Minimum Description Length.

10 years ago | 1 download |

0.0 / 5

Answered
I need help solving the equation that I am to create with a variable and every time I try to solve it seems to not work
You can just do what you originally posted, but with "syms h" added, as shown below. (You can use charpoly, as Star Strider said...

11 years ago | 1

Submitted


1D Gaussian lowpass filter
Returns coefficients of 1D Gaussian lowpass filter

17 years ago | 4 downloads |

3.0 / 5

Submitted


Minimum Description Length
Computes MDL for a model.

19 years ago | 1 download |

3.25 / 5