Community Profile

photo

Alex


Last seen: 1 year ago Active since 2016

Statistics

  • First Review
  • Thankful Level 2

View badges

Content Feed

View by

Question


How to align my plots correctly with the x-axis?
First, I apologize for the title of the question. Essentially, when I plot two series individually (see P7.png and P25.png) and ...

2 years ago | 0 answers | 0

0

answers

Question


How to remove NaN values from an array
I have an array 'AllTEC' of measurements from different sensors at different latitudes 'Latrayend' (see attached test.mat). Each...

2 years ago | 1 answer | 0

1

answer

Question


How do I save a colormap and use it for another figure?
I run a script and produce the following figure. I use colormapeditor to adjust the scale (see colorbar near 0 and 1). When I...

3 years ago | 1 answer | 0

1

answer

Question


Why do my subplots not line up?
Why do my y-axes not line up for my subplots? Text file and importfileIRIasia.m attached. clear all close all %%%%%%%%%%%%%%...

3 years ago | 1 answer | 0

1

answer

Question


Why am I getting "Subscripted assignment dimension mismatch."
Hello, I keep getting this error when I run the code on a certain dataset. but have used this code before without problems. For...

3 years ago | 1 answer | 0

1

answer

Question


How do i specify variable names using importfile?
I used the import data wizard to import data from a text file called smooth. A variable is created called smooth. Column one is ...

3 years ago | 0 answers | 0

0

answers

Question


How to plot elements of a structure?
I have an array of structures that is 91x10 called B. Within each element of the array is a structure Bx, By, Bz. I want to crea...

3 years ago | 0 answers | 0

0

answers

Question


How to only show part of a plot
I have a plot with an inset plot. For the inset plot I want the x-axis 'W' to show from 0 to 1, but I only want the y-axis 'tm...

4 years ago | 1 answer | 0

1

answer

Question


How to use for loop rather than nesting if loop
I want to use this code to subtract one value from each number in the histogram when all have been selected to find the new numb...

4 years ago | 1 answer | 0

1

answer

Question


accessing same file names in two different directories for comparison
Please let me know if there is a better title or way to ask this question. I don't believe I know the proper jargon. I have s...

4 years ago | 1 answer | 0

1

answer

Question


How to use a variable as an 'importdata' string
The following line works fine. unformatteddata = importdata('neutral.prf', DELIMITER, HEADERLINES); When I make a ...

4 years ago | 1 answer | 0

1

answer

Question


How can i use scatter with an image
I have had either all the points plot correctly the colors distorted/scaled by the image they were plotted over, OR the scatter ...

4 years ago | 1 answer | 0

1

answer

Question


How to use different marker styles rather than different marker colors?
I have a plot with 10 different series. I want each to appear as a different marker style rather than different colors, but don'...

4 years ago | 1 answer | 0

1

answer

Question


How do I fix my legend?
Hello, 'parnam' contains 8 1x1 structures (data and text). The data contains the latitude, longitude and altitude of a senso...

4 years ago | 1 answer | 0

1

answer

Question


How to plot a pcolor from 3 vectors?
I have 3 vectors that I imported from a text file in a three column format that I cannot change. The columns are latitude, long...

4 years ago | 1 answer | 0

1

answer

Question


Why is one variable not printing to my text correctly?
I use the following code, but when I open changing.txt, it shows: 547.0 0.0000 547.0 360.0 iri_pd_lon280.txt The se...

5 years ago | 1 answer | 0

1

answer

Question


How to read a txt file with values and strings?
Each time I run a scenario, my script opens a file called changing.txt and adds a line with the important parameters and the fil...

5 years ago | 1 answer | 0

1

answer

Question


Does MATLAB have any toolboxes or commands for predicting the next number in a series?
I have a data series x as a function of time y: x=[14,14,3,4,8,3,2,5,11,2,1,5,10,2,4,1,8,11,5,1,3,1,2;] y=1:1:23 How ...

5 years ago | 3 answers | 0

3

answers

Answered
How do I find the maximum/last index value from a list of indices
Solution: I found that I created a variable called min/max: max=max(data) min=min(data) By changing these lines to: dmax=max...

5 years ago | 0

Question


How do I predict the next number in a series?
I have a data series x as a function of time y: x=[14,14,3,4,8,3,2,5,11,2,1,5,10,2,4,1,8,11,5,1,3,1,2;] y=1:1:23 How do I pre...

5 years ago | 0 answers | 0

0

answers

Question


How to orient a text arrow
Hello, I am making a figure and added the x, y, z axes with labels for positve/negative x, y, and z using text(x,y,z,'leftar...

5 years ago | 1 answer | 0

1

answer

Question


How do I find the maximum/last index value from a list of indices
I have imported some data to form an array called 'newData1.data' and then find the row/col indices for each value 1-49 in a vec...

5 years ago | 2 answers | 0

2

answers

Question


How to save data in a formatted text file
I have 2 vectors and an array that I need to write into a text file in a particular format (to be read by another program). The ...

5 years ago | 0 answers | 0

0

answers

Question


importdata: index exceeds matrix dimensions
My script works fine on my personal computer at home running Matlab student 2010(a or b), but does not work on my machine at the...

5 years ago | 2 answers | 0

2

answers