Answered
Specify Bounds Vpasolve Two Unknowns
@John, I would use simple geometry. You say "Coordinates of the centre of the circle (y,z) should be within the bounds 12.5 and...

4 years ago | 0

| accepted

Answered
Row to column matrix
@armin m, See the following: a=[1,1+i,-1+i] b=conj(a')

4 years ago | 0

Answered
Z-angle of a fit-plane having 4 points
@Gaetano Pavone, In my previous post, I supplied a script (fitPlane3a.m) that finds the plane that is the best fit to 4 or more...

4 years ago | 1

Answered
Z-angle of a fit-plane having 4 points
@Gaetano Pavone Here's a script (attached) that fits a plane to 4 or more points. It fits by ordinary least squares, which mea...

4 years ago | 0

Answered
Z-angle of a fit-plane having 4 points
@Gaetano Pavone, YOu also requested help for how to plot the plane, the points, the normal vector. See attached. This is for th...

4 years ago | 1

Answered
Z-angle of a fit-plane having 4 points
@Gaetano Pavone, Here is code to find the unit normal to a plane defined by three points, and then the angle with the z-axis.. ...

4 years ago | 1

| accepted

Answered
Using gausswin function and iFT'ing data
@Cheggers, you are correct, you can use the same variable name for an input to the function and for an output from the function....

4 years ago | 0

Answered
Intersection between two functions
@Behbod Izadi, syms x S=solve(2.2/sqrt(2*9.81*x) == tanh((3.5/(2*4.5))*sqrt(2*9.81*x)),x) gives an answer. Is it reasonable? ...

4 years ago | 0

Answered
Filter recurring oscillation in 2D Data
@DGM, @Konvictus177, I cannot see diagonal banding. The arrows added to th image point to a vertical line, not a diagnonal feat...

4 years ago | 0

Answered
Using gausswin function and iFT'ing data
@Cheggers OK, I am glad if my earlier comment served as an answer to your probelem. I still think function windowFID() has a p...

4 years ago | 0

| accepted

Answered
How to fill a matrix with formulas
@aziz monavar, I see from your comment that you want the transpose. Therefore do this: y=zeros(1,20); y(1)=0.4; for i=2:20, ...

4 years ago | 1

Answered
Z-angle of a fit-plane having 4 points
@Gaetano Pavone, Is each data point a set of 3 coordinates? If the answer is yes, then do you know the x and y values exactly?...

4 years ago | 0

Answered
How to fill a matrix with formulas
@aziz monavar, You have a matrix y(i,j) but your formula is only for y(i). That is the problem @John D'Errico identifies. If y...

4 years ago | 0

Answered
Spline interpolation for angular data
@mukesh bisht, I suspect my earlier proposal won't work as I suggested, because the x-values passed to spline() must be unique....

4 years ago | 0

Answered
Spline interpolation for angular data
@mukesh bisht, The shape of the fitted spline at each point depends on points before and after that point. The curves do mot m...

4 years ago | 0

Answered
Relationship between 2 poly curve/ 2 data sets , how can I correlate it ?
@Eric Aw, Here is an implentation of my previous suggesitons. The attached code produces the console output and the plot below....

4 years ago | 0

| accepted

Answered
Relationship between 2 poly curve/ 2 data sets , how can I correlate it ?
@Eric Aw, See my quesitons in the ealrier comments. I moved your data into a text file (attached) and made a few tweaks to you...

4 years ago | 0

Answered
How can i do frequency weighted to acceleration time domain data to assessment the whole body vibration as (ISO 2631-1) recommended?
@Yahia Gaddal, Thank you to @Simon Chan for reading your quesiotn carefully and for noticing that you had posted a data file an...

4 years ago | 2

| accepted

Answered
How can i do frequency weighted to acceleration time domain data to assessment the whole body vibration as (ISO 2631-1) recommended?
I tried using the file generated by the code above in'vibriton data'. After clicking sevral buttons I reached a screen that say...

4 years ago | 0

Answered
How can i do frequency weighted to acceleration time domain data to assessment the whole body vibration as (ISO 2631-1) recommended?
@Yahia Gaddal, I decided to test the vibrationdata package of Mr. Tom Irvine by creating some simulated acceleration data. My ...

4 years ago | 0

Answered
How to solve a mass-spring-damper system with external time-dependent forces.
@Muhammad Ali, I am not familiar with the method you used in your code to derive the matrices A and B that describe the system....

4 years ago | 0

| accepted

Answered
How to solve a mass-spring-damper system with external time-dependent forces.
@Muhammad Ali, You do not need to use interpolation to add external forcing. I think a better approach is to compute the force...

4 years ago | 0

Answered
How to solve a mass-spring-damper system with external time-dependent forces.
@Muhammad Ali, I downloaded your code and saved it as coupledMasses1DextForce0.m. When I ran it, I got an error message about ...

4 years ago | 0

Answered
How can I plot a relative frequency histogram in Matlab?
@Eric Bernard Dilger, The overlapping bars in the plot abve are potentially confusing to the viewer. Therefore I added some co...

4 years ago | 1

Answered
How can I plot a relative frequency histogram in Matlab?
@Eric Bernard Dilger, Matlab's histogram() command is nice. Attached script shows how you could use it. It produces the plot be...

4 years ago | 1

| accepted

Answered
What are the option for probabilistic forecast in Matlab for energy forecasting?
@israt fatema, Matlab has many excellent tools for prbabilistic forecasting. A baseline of knowledge is needed...

4 years ago | 0

| accepted

Answered
Finding multiple x-intercepts for a dataset
@Jacob Hohsfield, You said you have a 2D dataset. If you mean the spectrogram, the time dependent Fourier transform, then find...

4 years ago | 1

Answered
Finding multiple x-intercepts for a dataset
@Jacob Hohsfield, Matlab has a very nice peak finding function, findpeaks(), help here: It has nice options, including thresho...

4 years ago | 1

| accepted

Answered
Maximize objective function using fmincon with a limit
@Angel Ani Create the following function and save it as file parameterfun.m: function y=parameterfun(x,U,V,y1,y2) y=-((U*y1 -...

4 years ago | 1

| accepted

Answered
data fitting with custom equation
@Somnath Kale Here is code that fits w and t1 as you requested. For a starting guess [w,t1]=[1,1], the console output and plot ...

4 years ago | 0

| accepted

Load more