![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6917649_1522118973105_DEF.jpg)
Sandro Lecci
自 2017 起处于活动状态
Followers: 0 Following: 0
Ph.D. in Neuroscience, I am passionate about signal analysis and problem solving.
Feeds
已回答
How can I create a colormap with a different colorscale for positive and negative numbers
Dear Richard, a colormap is essentially a nx3 matrix with the specification of RGB (3 columns) and the resolution in n lines....
How can I create a colormap with a different colorscale for positive and negative numbers
Dear Richard, a colormap is essentially a nx3 matrix with the specification of RGB (3 columns) and the resolution in n lines....
6 years 前 | 0
已回答
How to display a matrix as a picture?
Hi, What about the function imagesc ? A = [0 1; 2 3]; imagesc(A); colorbar; Best,
How to display a matrix as a picture?
Hi, What about the function imagesc ? A = [0 1; 2 3]; imagesc(A); colorbar; Best,
6 years 前 | 0
已回答
For-loop, inserting loopcount into string output
Dear Emil, I haven't check whether my proposition works, I let you try it. function data = dataLoad(filename) Q = r...
For-loop, inserting loopcount into string output
Dear Emil, I haven't check whether my proposition works, I let you try it. function data = dataLoad(filename) Q = r...
6 years 前 | 1
| 已接受
已回答
How to make this plot
Hi Stefano, Is this what you are trying to do? <</matlabcentral/answers/uploaded_files/120986/Matrix.png>> if yes then ...
How to make this plot
Hi Stefano, Is this what you are trying to do? <</matlabcentral/answers/uploaded_files/120986/Matrix.png>> if yes then ...
6 years 前 | 1
| 已接受
已回答
put bars in bar graph in ascending order?
Hi, Use the sort function as following: ... homepop = pop(:,2); [~, I] = sort(homepop, 'ascend'); % remove/comm...
put bars in bar graph in ascending order?
Hi, Use the sort function as following: ... homepop = pop(:,2); [~, I] = sort(homepop, 'ascend'); % remove/comm...
6 years 前 | 0
已回答
ecg signal frquency contents
Dear Moh, I recommend you substract the signal average to get rid of the very low frequencies. Just write this: Y = f...
ecg signal frquency contents
Dear Moh, I recommend you substract the signal average to get rid of the very low frequencies. Just write this: Y = f...
6 years 前 | 0
已回答
Need help moving text inside of a figure window
Dear Jacob, In your code you miss the instruction to change the direction of the text. The text object is defined only by the...
Need help moving text inside of a figure window
Dear Jacob, In your code you miss the instruction to change the direction of the text. The text object is defined only by the...
6 years 前 | 0
| 已接受
已回答
How to set color of scatterplot bars?
dear z8080, Somehow the histograms are plotted with a FaceAlpha value of 0.6. This makes the red color looking "flatter". To...
How to set color of scatterplot bars?
dear z8080, Somehow the histograms are plotted with a FaceAlpha value of 0.6. This makes the red color looking "flatter". To...
6 years 前 | 2
| 已接受
已回答
how to create a line plot with data from excel?
Dear Minka, I suggest you use the function line instead of plot. I would do something like this, and I let you change the val...
how to create a line plot with data from excel?
Dear Minka, I suggest you use the function line instead of plot. I would do something like this, and I let you change the val...
6 years 前 | 0
已回答
How do I put multiple lines of text in the title/question section? (probably a uicontrol question)
Dear leon, try using this: dlgTitle = sprintf('Someone\n\t hello?'); % -> \n goes to a new line, and % -> \t add...
How do I put multiple lines of text in the title/question section? (probably a uicontrol question)
Dear leon, try using this: dlgTitle = sprintf('Someone\n\t hello?'); % -> \n goes to a new line, and % -> \t add...
6 years 前 | 0
已回答
Changing values of axis
Hi Alexander, To change the limits of the axis do the following: set(gca, 'YLim', [0.1,1]) However, your data will n...
Changing values of axis
Hi Alexander, To change the limits of the axis do the following: set(gca, 'YLim', [0.1,1]) However, your data will n...
6 years 前 | 0
| 已接受
已回答
Finding peak value and peak arrival time from a time-domain plot and store it into a matrix.
Hi Syed, are you looking for the max value and its index ? peakValues = NaN(360, 2); %column 1 is peak value, column 2 i...
Finding peak value and peak arrival time from a time-domain plot and store it into a matrix.
Hi Syed, are you looking for the max value and its index ? peakValues = NaN(360, 2); %column 1 is peak value, column 2 i...
6 years 前 | 0
| 已接受
已回答
Axis fontsize and text fontsize not matching
Dear Royk, try this: lbl = 'These two labels should now have the same fontsize 10' ; figure(1);clf set(gcf,'positio...
Axis fontsize and text fontsize not matching
Dear Royk, try this: lbl = 'These two labels should now have the same fontsize 10' ; figure(1);clf set(gcf,'positio...
6 years 前 | 0
| 已接受
已回答
How I can plot a 2D in Matlab?
Dear sama, ckeck the documentation of the surf function or the scatter3 function. https://ch.mathworks.com/help/matlab/ref...
How I can plot a 2D in Matlab?
Dear sama, ckeck the documentation of the surf function or the scatter3 function. https://ch.mathworks.com/help/matlab/ref...
6 years 前 | 0
已回答
create 2 scatterplots side by side
Dear mini ayachi, you need to add a line after you declare each subplot to plot the data into the scatter plot. subplot(...
create 2 scatterplots side by side
Dear mini ayachi, you need to add a line after you declare each subplot to plot the data into the scatter plot. subplot(...
6 years 前 | 0
| 已接受
已回答
How to access data in a cell array
Hy Auryn, myCell{1}(2:60,1) should do the stuff. Best, Sandro
How to access data in a cell array
Hy Auryn, myCell{1}(2:60,1) should do the stuff. Best, Sandro
6 years 前 | 2
| 已接受
已回答
Can I make the loop not count the t-waves in a ECG signal?
Dear Maria, Consider using the function findpeaks with the 'MinPeakDistance' argument (that works as a refractory period) ...
Can I make the loop not count the t-waves in a ECG signal?
Dear Maria, Consider using the function findpeaks with the 'MinPeakDistance' argument (that works as a refractory period) ...
6 years 前 | 1
| 已接受
已回答
How to extract max from a cell?
Dear Luisa, maybe the function cellfun does what you are looking for. A = cell(3,1); %Store with 3 matrices of differen...
How to extract max from a cell?
Dear Luisa, maybe the function cellfun does what you are looking for. A = cell(3,1); %Store with 3 matrices of differen...
6 years 前 | 1
已回答
Help with FFT for time-pressure signal
Hi, to remove the *huge zero frequency dc offset* I suggest you simply subtract the trace's average (in order to have a signal ...
Help with FFT for time-pressure signal
Hi, to remove the *huge zero frequency dc offset* I suggest you simply subtract the trace's average (in order to have a signal ...
7 years 前 | 0