Statistics
RANK
92
of 276.014
REPUTAZIONE
1.462
CONTRIBUTI
7 Domande
670 Risposte
ACCETTAZIONE DELLE RISPOSTE
100.0%
VOTI RICEVUTI
212
RANK
1.403 of 18.588
REPUTAZIONE
1.262
VALUTAZIONE MEDIA
3.20
CONTRIBUTI
5 File
DOWNLOAD
18
ALL TIME DOWNLOAD
12513
RANK
of 125.789
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Content Feed
How I can define/ calculate reflection of the ray correctly? As my reflection makes mistake in direction
I meant the comment above to be an answer; please consider it to be one. t is a scalar, t>=0 so that the reflected ray is only ...
19 giorni fa | 0
| accettato
Generate trapezoidal waveform from a square waveform using convolution
@Victor Dos Santos, [edit correct capitalization errors] Your convolution worked and it did produce a trapezoidal signal. You...
19 giorni fa | 0
| accettato
Plotting Several Data Sets in a For Loop
@George, You write: x_new=x_prev+u0x*i+0.5*ax*(i^2); which is not correct, given how you define variables. You define i as cu...
20 giorni fa | 0
how to smooth the data of array to get a smooth surface?
@Abdullah, an example of a median filter for a surface: First, make a surface with some "noise": A=repmat(-(-20:20).^2/400,31,...
20 giorni fa | 0
how to smooth the data of array to get a smooth surface?
@Abdullah, Check this out: https://www.mathworks.com/help/matlab/data_analysis/convolution-filter-to-smooth-data.html Or do a...
20 giorni fa | 0
How do I get directionality from the departure() function
@Steve K, Multiply the values from departure by sign(lon1-lon2). Define points: lat1=[45.73366;42.30074;42.11033;37.69088]; ...
21 giorni fa | 0
| accettato
solving 4 equations with 4 unknowns
@Hamza Harbi, because the equation has two solutions. The first values of a,b,d,e are one solution; the second values of a,b,d,...
21 giorni fa | 0
Sinusoidal curve from discrete dataset
@Ashfaq Ahmed, [edit: I changed the comments in the code for t1 and t. I added a line to display the fitted values.] load('si...
22 giorni fa | 1
| accettato
How can I find the total distance of the path from the dfsearch on this code?
@Uche, Try dTot=0; for i=2:length(v) dTot=dTot+sqrt((x(v(i))-x(v(i-1)))^2+(y(v(i))-y(v(i-1)))^2); end That seems too...
22 giorni fa | 0
| accettato
Plotting different color points based on array values
@Elena Zucchetti, One way: x=1:100; N=length(x); DE=10*rand(1,N); c=zeros(N,3); %allocate colors for i=1:N, if DE(i)>5, c(...
22 giorni fa | 0
| accettato
Why I don't get a curve plot by adding term2 to phi?
@Shaily_T, Please post a question in the simplest possible form that will allow others to assist you. In this case, you can ma...
24 giorni fa | 1
How can I remove a pulse from a soundwave?
@Valentin Puiu, Sound is in the range 20 Hz-20 kHz. A 10 Hz signal will be felt more than heard. You have added a square wave...
26 giorni fa | 1
| accettato
Solving a system of second order ODE backwards
@Padi, First, try to get your script to work in the normal forward direction. The funciton needs to be adjusted. You have fun...
26 giorni fa | 1
Calculate phase shift i bode plot for 2 order system data
@Olga Rakvag, [edit: In case it's not obvious: Add the 2*pi factor in both places where f/w_n appears, in your formula for thet...
26 giorni fa | 1
| accettato
Calculate the occupied bandwidth of non-stationary signals
@Yousef, yes there is a way. Decide how you want to define and measure bandwidth. For example, you could define and measure it ...
27 giorni fa | 0
Tranform a point another coordinate system
@Furkan KORKMAZ, Do you want a symbolic solution or a numerical solution? If you want a numerical solution, then define the co...
27 giorni fa | 0
| accettato
Circular time plots using polarhistogram?
@Sadegh Rahimi, Suppose you have the wind direction in degrees at 1 minute intervals for 1 day: windDir=360*rand(1,1440); Mak...
28 giorni fa | 0
| accettato
How to make equation work for each frame of data?
@Amanda, [edit: correct error in my code] This looks like something I would have assigned when I taught biomechanics or when I...
28 giorni fa | 1
| accettato
Trying to make 2 data sets the same length
@Matthew, You can do it, but that does not mean you should do it. On what basis do you justify the pairing of the samples from...
28 giorni fa | 1
how to plot windrose diagram given (x,y) coordinates with the corresponding values
@OBO, See wind_rose in the File Exchange. Or use polarhistogram(), as in the example in the second answer here, by @Al Mac.
29 giorni fa | 0
Time-dependent system ODE with initial half-sine pulse shows incorrect results
@Mathew Smith, If I am correct that the base moves according to a prescribed function of time, then the differential equation c...
circa un mese fa | 0
Time-dependent system ODE with initial half-sine pulse shows incorrect results
@Mathew Smith, I would not use cumtrapz() or (worse) nested calls to cumtrapz(cumtrapz()). I don;t understand the right hand s...
circa un mese fa | 0
maps contourf, griddatat or scatterdata
@Mohamed, I assume you have data at the specific points shown on the Matlab plot. If that is true, then the Matlab plot looks v...
circa un mese fa | 1
| accettato
How do you repeat a QRS signal?
@collegestudent, If you want to use frequency analysis to examine the heart rate frequencies, you will need a lot of beats. 30...
circa un mese fa | 1
| accettato
Generates normals with multiple three-point coordinates
@Chenglin Li, [edit: I simplified the calculation of the normalized normal vectors] I ran your code. It runs without error. I...
circa un mese fa | 0
| accettato
Detection of the carrier's audible announcement
@Matyas Rychetsky, I do not know of anything better than the voiceActivityDetector. The examples here are very good, in my opi...
circa un mese fa | 0
Can anyone tell me why this error is occurring and how to solve it? Thank you.
@Rafia Noshin, please include a sample ecg data file so we can run the code. What error do you get? When I run that line, I get...
circa un mese fa | 0
I need to create a 3D surface plot for a multiple linear regression
@Anna, Please attach sill as a text file containing 3 columns of data and no headers. Please format your code as code (by high...
circa un mese fa | 0
Plotting of a surface
@Andrei, My understanding is that you want to create a potential function which is the product of a radial component and an ang...
circa un mese fa | 1
| accettato
Shifting plotted points from green to red
@Jared Dube, to plot a line with continuously variable color: t=0:100; x=-500*cos(2*pi*t/100); y=500*(x/500).^2+t; hsv=[lins...
circa un mese fa | 1