Feeds
已回答
Logarithmic amplitude scaling of a signal
@Lorenzo Lellini, note that your curve is assuming a full scale sweep of +/- 1 whereas sweeptone produces +/- 0.5 so you need to...
Logarithmic amplitude scaling of a signal
@Lorenzo Lellini, note that your curve is assuming a full scale sweep of +/- 1 whereas sweeptone produces +/- 0.5 so you need to...
1 year 前 | 1
| 已接受
已回答
""Unrecognized variable name 'Time'" I am getting this type of error during ploting , how I can fix this?
@Ritesh, if you remove the first 2 header lines from the CSV it will work properly. There is probably an alternative to have MAT...
""Unrecognized variable name 'Time'" I am getting this type of error during ploting , how I can fix this?
@Ritesh, if you remove the first 2 header lines from the CSV it will work properly. There is probably an alternative to have MAT...
1 year 前 | 0
| 已接受
已回答
How to detect intersection of 3D rectangles that are rotated?
@Michael Ferguson, You can try the attached delaunayTriangulationIntersect.m function that I use to look for intersection of sol...
How to detect intersection of 3D rectangles that are rotated?
@Michael Ferguson, You can try the attached delaunayTriangulationIntersect.m function that I use to look for intersection of sol...
1 year 前 | 1
| 已接受
已回答
scale a point cloud (enlarge or reduce)
@Alberto Acri, I don't have the toolbox you do but you should be able to expand Rowsx3 similar to this (red are added): % Creat...
scale a point cloud (enlarge or reduce)
@Alberto Acri, I don't have the toolbox you do but you should be able to expand Rowsx3 similar to this (red are added): % Creat...
1 year 前 | 0
已回答
Plot arrow as upper limits in errorbar when I don't have lower bound
@Roberto Serafinelli, using the e = errorbar call where the inputs are given to draw individual lines (see and Multiple lines wi...
Plot arrow as upper limits in errorbar when I don't have lower bound
@Roberto Serafinelli, using the e = errorbar call where the inputs are given to draw individual lines (see and Multiple lines wi...
2 years 前 | 1
已回答
How to find the y from given x on fit line?
@kivanc Koca, if you have a fit using spline, pchip, makima, interp1, or the spline utility function mkpp you can use Evaluate p...
How to find the y from given x on fit line?
@kivanc Koca, if you have a fit using spline, pchip, makima, interp1, or the spline utility function mkpp you can use Evaluate p...
2 years 前 | 0
已回答
How to use Delaunay Triangulation to create a plane with constraints?
@youssef hany, if all your points are coplanar for one section (in your picture a wall, floor, etc) they can be processed as 2D ...
How to use Delaunay Triangulation to create a plane with constraints?
@youssef hany, if all your points are coplanar for one section (in your picture a wall, floor, etc) they can be processed as 2D ...
2 years 前 | 0
已回答
How can I put three different tau_rms in this code and draw them in one picture? (each tau_rms = 5*10^(-9), 30*10^(-9), 80*10^(-9), when SNR_MMSE is same as 30.)
@zoopzdd, as in most cases where you want to apply multiple values in code methods invoked that aren't intended to receive multi...
How can I put three different tau_rms in this code and draw them in one picture? (each tau_rms = 5*10^(-9), 30*10^(-9), 80*10^(-9), when SNR_MMSE is same as 30.)
@zoopzdd, as in most cases where you want to apply multiple values in code methods invoked that aren't intended to receive multi...
2 years 前 | 0
已回答
Problem with threshold in if statement
@Siegmund Nuyts, since you are negating the values input to Find local maxima - MATLAB findpeaks (mathworks.com) when looking fo...
Problem with threshold in if statement
@Siegmund Nuyts, since you are negating the values input to Find local maxima - MATLAB findpeaks (mathworks.com) when looking fo...
2 years 前 | 0
| 已接受
已回答
Need help with an error
@Ryan W, try this instead - you need to look at all possible sequential value sets so a recusive function seems applicable. This...
Need help with an error
@Ryan W, try this instead - you need to look at all possible sequential value sets so a recusive function seems applicable. This...
2 years 前 | 0
已回答
i want to add a loop so that it works like this.
@SAHIL SAHOO, since Gt(1) is not changed after the initial setting from the y input, and Gt(i+1) is not refereced before where y...
i want to add a loop so that it works like this.
@SAHIL SAHOO, since Gt(1) is not changed after the initial setting from the y input, and Gt(i+1) is not refereced before where y...
2 years 前 | 0
已回答
constantGammaClutter doesn't take account of Doppler shift of the frequency due to radar motion
@Andrey Senkov, this bullet below from the description of Simulate constant gamma clutter - MATLAB (mathworks.com) indicates it ...
constantGammaClutter doesn't take account of Doppler shift of the frequency due to radar motion
@Andrey Senkov, this bullet below from the description of Simulate constant gamma clutter - MATLAB (mathworks.com) indicates it ...
2 years 前 | 1
已回答
I'm getting an error (Index in position 1 exceeds array bounds)
@Majd AG, find is going to look at the entire signal as if you had written signal(:) > max_thresh; find will return values beyon...
I'm getting an error (Index in position 1 exceeds array bounds)
@Majd AG, find is going to look at the entire signal as if you had written signal(:) > max_thresh; find will return values beyon...
2 years 前 | 0
| 已接受
已回答
Optimisation of a 3 vector velocity
@Olivia Davison, perhaps you are saying x, psi, gamma and velWind are related, one for each object: x(N,3), phi(N,1), gamma(N,1)...
Optimisation of a 3 vector velocity
@Olivia Davison, perhaps you are saying x, psi, gamma and velWind are related, one for each object: x(N,3), phi(N,1), gamma(N,1)...
2 years 前 | 0
已回答
How to plot a second coordinate frame using plot3?
@Jimmy Neutron, your Z rotation matrix doesn't agree with your Z rotation formula. Either could be correct depending if you want...
How to plot a second coordinate frame using plot3?
@Jimmy Neutron, your Z rotation matrix doesn't agree with your Z rotation formula. Either could be correct depending if you want...
2 years 前 | 0
已回答
How to solve this issue?
@Nisar Ahmed, I think what you want to do to have Simulink outputs grouped across multiple runs is something like the example in...
How to solve this issue?
@Nisar Ahmed, I think what you want to do to have Simulink outputs grouped across multiple runs is something like the example in...
2 years 前 | 0
已回答
Error in finding phase noise of an electrical oscillator...
@khan, my guess is that your data frequency is not compatible with the other parameters; the example looks at a signal of 2.7G a...
Error in finding phase noise of an electrical oscillator...
@khan, my guess is that your data frequency is not compatible with the other parameters; the example looks at a signal of 2.7G a...
2 years 前 | 0
| 已接受
已提交
Utility package with NoGrow class and realDeal function
Utilities I find useful: NoGrow superclass to detect and/or prevent growth of arrays; and realDeal to augment MATLAB deal functi...
2 years 前 | 1 次下载 |
已回答
Looping if between 2 numbers
@jason, the and operator (&) produces a logical (true/false 1/0) result - not a range of values. Please look at MATLAB documenta...
Looping if between 2 numbers
@jason, the and operator (&) produces a logical (true/false 1/0) result - not a range of values. Please look at MATLAB documenta...
2 years 前 | 0
已回答
How to assign to a collection of object properties stored in an object array, using a numerical array of compatible type and size (one statement, without for-loop!)?
@Peter, without getting into your specific code I suspect that [obj.objArray(IndexSet).tstmp] = T(1:nI) is incorrect in that the...
How to assign to a collection of object properties stored in an object array, using a numerical array of compatible type and size (one statement, without for-loop!)?
@Peter, without getting into your specific code I suspect that [obj.objArray(IndexSet).tstmp] = T(1:nI) is incorrect in that the...
2 years 前 | 0
| 已接受
已回答
How to shade the same area in each subplot in a 5x1 Figure?
@S_G, if you use debug to step thru the code you will see that the 2nd subplot initially gets the shading, but then line plotted...
How to shade the same area in each subplot in a 5x1 Figure?
@S_G, if you use debug to step thru the code you will see that the 2nd subplot initially gets the shading, but then line plotted...
2 years 前 | 0
已回答
How to solve 'Error using image Complex values are not supported. Specify the color data as numeric or logical values.'
@Nisar Ahmed, I don't have the toolbox for ksdensity but the imaginary parts of SW_OPT are insignificant relative to their real ...
How to solve 'Error using image Complex values are not supported. Specify the color data as numeric or logical values.'
@Nisar Ahmed, I don't have the toolbox for ksdensity but the imaginary parts of SW_OPT are insignificant relative to their real ...
2 years 前 | 0
| 已接受
已回答
How can I evaluate an Simulink.data.Expression in a MATLAB script
@Karsten Gordon, Evaluate MATLAB expression in data dictionary section - MATLAB evalin (mathworks.com) or Evaluate MATLAB expres...
How can I evaluate an Simulink.data.Expression in a MATLAB script
@Karsten Gordon, Evaluate MATLAB expression in data dictionary section - MATLAB evalin (mathworks.com) or Evaluate MATLAB expres...
2 years 前 | 0
已回答
How can I read data in backgorung from my NI hardware?
@Jan Tomaszewski, try moving the device setup into your main program and pass that dq (and maybe ch3) as a parameters to the wor...
How can I read data in backgorung from my NI hardware?
@Jan Tomaszewski, try moving the device setup into your main program and pass that dq (and maybe ch3) as a parameters to the wor...
2 years 前 | 0
已回答
My snipet code have 3 harmonics, second's amplitude is maximum, but abs(fft(X)) returns first as maximum. I use MATLAB R2022a.
@Georges Theodosiou, you don't have enough samples to easily interpret the abs(fft), if you change Segm = 1:2048 to use 16384 yo...
My snipet code have 3 harmonics, second's amplitude is maximum, but abs(fft(X)) returns first as maximum. I use MATLAB R2022a.
@Georges Theodosiou, you don't have enough samples to easily interpret the abs(fft), if you change Segm = 1:2048 to use 16384 yo...
2 years 前 | 0
| 已接受
已回答
fill value that has different size of array
@상훈 송, trying to save results directly into part of an array will not work unless you know exactly what the size of the return w...
fill value that has different size of array
@상훈 송, trying to save results directly into part of an array will not work unless you know exactly what the size of the return w...
2 years 前 | 0
| 已接受
已回答
Converting a list of binary numbers to a decimal numbers
@Martin Mittrenga, read up on num2str and strsplit which don't really support vectors of things. One way to do this without loop...
Converting a list of binary numbers to a decimal numbers
@Martin Mittrenga, read up on num2str and strsplit which don't really support vectors of things. One way to do this without loop...
2 years 前 | 0
已回答
Fast fourier tranformer for Time series data
@Mohammed Lamine Mekhalfia, I think the answer provided by @dpb is valid although @Bjorn Gustavsson has valid points as well. By...
Fast fourier tranformer for Time series data
@Mohammed Lamine Mekhalfia, I think the answer provided by @dpb is valid although @Bjorn Gustavsson has valid points as well. By...
2 years 前 | 0
已回答
is this expression right in MATLAB?
@Aisha Mohamed, what you are looking for is known as a Laurent polynomial - Wikipedia. The MATLAB Wavelet Toolbox has functions ...
is this expression right in MATLAB?
@Aisha Mohamed, what you are looking for is known as a Laurent polynomial - Wikipedia. The MATLAB Wavelet Toolbox has functions ...
2 years 前 | 0
已回答
How to evaluate the computation time of some codes in parallel properly?
@Slivery, when using the cputime difference method don't forget to divide by 21 (the number of executions being averaged). Depen...
How to evaluate the computation time of some codes in parallel properly?
@Slivery, when using the cputime difference method don't forget to divide by 21 (the number of executions being averaged). Depen...
2 years 前 | 0
| 已接受