Feeds
질문
Using findpeaks to find peaks and troughs, how can I make sure that I always find a peak then a trough?
[Maxima,MaxIdx] = findpeaks(Peak,'MinPeakHeight',mean(Peak),'MinPeakDistance',10); Mins=1.01*max(Peak)-Peak; [Minima,Min...
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
Build an array with different column lengths
Have one large data set (3333x1 double) and am trying to section out rows based on certain index values. If I have say 10 index ...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to compare the length of two matrices and pick the shorter one?
have two nx1 matrices that I want to say for whichever matrix is shorter use that length.
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to plot into a PNG image?
I have a script that plots a 3x3 grid of values as a colormap: Data = [1:1:9; 1 2 3 4 5 6 7 8 9; 1 2 3 4 5 6 7 8 9 ;1 2 3 ...
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
Have a floorplan picture I want to plot time spent per area for a day as a heatmap
I have a picture of a floor plan, that is sectioned off into a 3x3 grid. I also have time spent in each grid zone (1-9) for a da...
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
Matlab to write binary files?
I am using an old dos program that states in its documentation: input files (*._IN) are in binary Format. They cannot be edi...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
What is the simplest method to "tag" start and end rows of data in my csv for easy parsing through matlab?
I collect data with an NI Daq and then read in the csv to matlab for processing. the csv has ~10columns and the last column has ...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
Using reshape to get a block averaging of data when it is not divisible by the block?
Have varying data sets of varying lengths i want to block average (every 10 points), block max/min, stdev, etc. How can I use re...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
Grabbing numbers from a string
I have a data set where some numbers are numbers like (124,456, 987) and others are numbers with an letter on them like (123P,23...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Trying to cycle through my variables with a for loop.
for i=1:20 Data = sprintf('Data%i',i); DataNew(:,i) = mean(Data); end I have 20 Data arrays labeled Data1-Data20...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to play my video while my graph animates?
I am trying to update a graph animation in sync with a played movie. How do i structure the while loop so that when the movie(.....
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Running two portions of a script simulateneously?
I am trying to update a graph animation in sync with a played movie. How do i structure the while loop so that when the movie(.....
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
Setting current directory as save location for executable guis?
I have a gui that performs an xlswrite function and creates a file called summary.xlsx in a folder. When I turn this into an exe...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Adding full figure edit options to an executable?
I have a matlab executable which generates a plot in a figure, but the figure only has bare minimum options available (legend, z...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
How to play video at specific timestamp?
Have a video that I want to play in a figure but at a specific time, like start 10 seconds into the video for example.
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Table data is not editable at this location, why won't this checkbox let me check it?
f = figure; columnname = {'X' , 'Y'}; Selection = {'A','B','C','D','E'} [vals{1:numel(Selection),1}]=deal(false) ...
9년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
How to load own dataset
you can do it outside the command line by going to import data on the main ribbon, or using some sort of file read. I'm not sure...
How to load own dataset
you can do it outside the command line by going to import data on the main ribbon, or using some sort of file read. I'm not sure...
9년 초과 전 | 0
질문
Creating a dynamic plotter on the gui
I have a struct of data which basically has a a data name (like Task A, Task B, etc) and each name corresponds to a data set wit...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
Single function like stepinfo but for general stats?
I really like how stepinfo gives me the characteristics of my data in a single line. Is there a similar function that will give ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Insert a changing number into a variable in matlab?
I am defining some variables based on gui inputs, like so: day1name=get(handles.day1name,'String'); day1start = da...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
How to maniplulate data in one array if conditions are met in another array?
I have an array of numeric data, and I have another with the string headers of that data. these two arrays match in terms of wha...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
Can matlab be programmed to create flow diagrams like yEd but with math?
yEd creates flowchart type diagrams, or network diagrams. But it does not have a math option where you can sum values coming in ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Have a list of strings that I want made into checkboxes on my gui
I have a txt file with strings in them like so Text Text2 Text3 and so on. I want to have the gui read in the txt f...
거의 10년 전 | 답변 수: 0 | 0
0
답변질문
Add value in column to previous?
data_input=[1;1;1;1;1;1;1] data_output=[1;2;3;4;5;6;7] how can i achieve this with a for loop? basically take the prece...
거의 10년 전 | 답변 수: 1 | 0
1
답변답변 있음
Lowess smoothing has 49,226 calls , taking forever, anyway to speed up?
I found the problem. In my smooth call: I am doing a double smoothign for both the (x,y) variables. so it is comparing all of th...
Lowess smoothing has 49,226 calls , taking forever, anyway to speed up?
I found the problem. In my smooth call: I am doing a double smoothign for both the (x,y) variables. so it is comparing all of th...
거의 10년 전 | 0
| 수락됨
답변 있음
How can I interpolate my data?
http://www.mathworks.com/help/matlab/math/interpolating-scattered-data.html what do you mean by interpolate this data and fin...
How can I interpolate my data?
http://www.mathworks.com/help/matlab/math/interpolating-scattered-data.html what do you mean by interpolate this data and fin...
거의 10년 전 | 0
질문
Lowess smoothing has 49,226 calls , taking forever, anyway to speed up?
I have an array that is 24613 cells of data and I am trying to run: if true Smooth=smooth(GraphTime, Data(:,1),800,'l...
거의 10년 전 | 답변 수: 2 | 0
2
답변질문
Convert Excel String time to number
My excel spreadsheet that I am reading into matlab with xlsread has text for the time in the format of 11:23:23 AM for example. ...
대략 10년 전 | 답변 수: 2 | 0
2
답변답변 있음
Place text between vertical lines on graph
never mind i am retarded and can just do (task1+task2)/2 to place it between all my tasks...
Place text between vertical lines on graph
never mind i am retarded and can just do (task1+task2)/2 to place it between all my tasks...
대략 10년 전 | 0
| 수락됨
질문
Place text between vertical lines on graph
I have several lines on my graph made like so: if true line([Task1 Task1],[0 500],'Color',[0 0 0], 'LineStyle','--'); li...
대략 10년 전 | 답변 수: 1 | 0