photo

Alex


Last seen: 4 years ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 3

View badges

Feeds

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

8 years ago | 2 answers | 0

2

answers