질문


using fullfile when you need to pass a string as an input argument with readable TreatAsEmpty
Hi, I have a folder of files which have strings as headers and when there are fields which the measuring system could not mea...

대략 6년 전 | 답변 수: 1 | 0

1

답변

답변 있음
plotting an image on top of another plot
Figured out how to do it as a transparency so will leave this for anyone who may be interested C=image_file h=imsh...

대략 6년 전 | 1

| 수락됨

질문


plotting an image on top of another plot
Hi, I have a script which plots a figure (a waveform) on top of the results from using that waveform, it works but I would li...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


export interactive 3D stem plot
Hi, I have looked online for ways to share a Matlab 3D plot and keep it interactive, I have a stem plot (could plot it as a s...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


loading all files from a user specified folder into a gui
Hi, Is there a way for a GUI to allow a user to select a folder of text files on their own computer and have the GUI work on ...

대략 6년 전 | 답변 수: 2 | 0

2

답변

질문


if else in a loop
Hi, I have a variable extracted from a filename that I need to use to map the data in that file to a location in a big data set...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


splitting a char with no delimiter
Hi, Does anyone know how to split a four character cell array string into 2(or better 4) separate strings? A= 'A5C9' %...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to swap data variables in particular columns
Hi, I have a large data set of repeated tests at different frequencies, when the measuring equipment has an issue and cannot ...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to avoid variable name warnings when using filenames as variable names
Hi, I have almost got the orange errors at the side of my script down to zero but have one error that keeps coming up: "Warn...

6년 초과 전 | 답변 수: 4 | 0

4

답변

질문


Invert or reverse Yaxis ticks in a plot or scatter graph
Hi, I can find documentation to reverse the Yaxis for imagesc but not for a regular plot. I have data where the origin is the...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


determine which cells have more than 1 row
How can I find out the number of rows _within_ a cell of a cell array e.g. the cell array below, its first cell has 2 rows, I...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to move array data to additional columns based on repeats in a vector or column
I have an array like A (below) with duplicates in the second column, for example there are three 1's,three 6's and four 7's. Wha...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Mapping arrays based on repeating integers in a vector
%% make some fake data A=(1:5)' B=zeros(10,1) B(1:2:end)=A(1:1:end) B(2:2:end)=A(1:1:end) B(3)=1 B(9)=4 ...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Saving mat file named by a variable and comprising multiple variables to a different folder
Hi, I have spent a few hours now trying to get my head around a problem that seems simple but the implementation is eluding m...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


Preserve spaces when using fprintf with strcat to show variables, spaces and strings on screen to user
Hi, I have had a try at getting a string ending with a space to be preserved on screen using fprintf and strcat together but ...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


advice on table storage in a struct or a mat file
Hi, I have a large script which produces a very useful results-table summary of the part I am testing. As the test is standardi...

거의 7년 전 | 답변 수: 2 | 0

2

답변

질문


Subplot ID in a loop where k> number of plot locations for a single page
Hi, This is a tricky one for me to explain. I have q files, and want to subplot them on a page with 4 locations. Due to consider...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Subplotting programmatically for varying amounts of subplots
Hi, It may be that there is terminology or expressions I am not aware of and that this question has already been answered but I...

대략 7년 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

7년 초과 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7년 초과 전

질문


Removing strings or NaNs from data to be plotted
Hi, I have txt files which represent results of measurements of objects in flight and occasionally an object will not be presen...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


I have about 60 figures generated from running a script, is there a simple way to install these into a report and add some basic text and headings
I have about 60 png figures generated from running script a few times, is there a simple way to import these into a report and a...

거의 8년 전 | 답변 수: 1 | 0

1

답변