Feeds
질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 3 | 0
3
답변답변 있음
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...
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년 초과 전 | 0
질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 2 | 0