Question


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...

7 years ago | 1 answer | 0

1

answer

Answered
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...

7 years ago | 1

| accepted

Question


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...

7 years ago | 1 answer | 0

1

answer

Question


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...

7 years ago | 1 answer | 0

1

answer

Question


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 ...

7 years ago | 2 answers | 0

2

answers

Question


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...

7 years ago | 2 answers | 0

2

answers

Question


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' %...

7 years ago | 1 answer | 0

1

answer

Question


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 ...

7 years ago | 1 answer | 0

1

answer

Question


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...

7 years ago | 4 answers | 0

4

answers

Question


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...

7 years ago | 1 answer | 0

1

answer

Question


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...

7 years ago | 2 answers | 0

2

answers

Question


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...

7 years ago | 1 answer | 0

1

answer

Question


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 ...

7 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 2 answers | 0

2

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Solved


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 ...

8 years ago

Solved


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:...

8 years ago

Question


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...

8 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer