Feeds
已回答
import text file in loop
Answer to automatically build 'formatSpec' using the import function created by Matlab. A = repmat('%s',1,201); B = '%[^...
import text file in loop
Answer to automatically build 'formatSpec' using the import function created by Matlab. A = repmat('%s',1,201); B = '%[^...
6 years 前 | 0
| 已接受
提问
import text file in loop
Hi, I'm creating text files from another program that I want to import into Matlab. I have been using the import wizard matlab ...
6 years 前 | 1 个回答 | 0
1
个回答提问
plot 3 distinct parameters in 3D
Hello, I have three distinct vectors of same length: X,Y,Z I would like to create a 3D plot similar to a histogram but the h...
7 years 前 | 1 个回答 | 0
1
个回答提问
dimension mismatch with growing char matrix
Hello, I have in a loop Name_Pairs growing Name_Pairs(1,:) = sprintf('%s%d','p',10) then Name_Pairs(2,:) = sprin...
7 years 前 | 2 个回答 | 0
2
个回答提问
how to find duplicates in a structure
Hello, I have a structure 'variable2' containing 15 fields: BoundCoord1 to BoundCoord15. Each field is a 2x2 matrix containi...
8 years 前 | 1 个回答 | 0
1
个回答提问
find length of a field within structure and specific values
Hello, I create a structure using the script below. I would like to know how can I find the length of each field and how can ...
8 years 前 | 2 个回答 | 0
2
个回答提问
reconstruct matrix from vector coordinates
Hello, I have 3 vectors (x,y,data) each equals 1x6358. How can I recreate the matrix DATA based on the indices x and y? Thank...
8 years 前 | 2 个回答 | 0
2
个回答提问
create a filename with cell
Hello, I would like to create different filenames inside of a loop using cell inputs and I was wondering what function I could ...
8 years 前 | 1 个回答 | 0
1
个回答提问
plot same column from different matrices on the same figure
I have 2 matrices A and B both 9x5 I would like to simplify the loop figure, hold on for i = 1:5 scatter(A(:,i),B(...
9 years 前 | 1 个回答 | 0
1
个回答已回答
transform a radius into a circle
here is the solution: %% Example data x = (2:0.1:8); data = sin(x); %% Shift the values towards the center, so...
transform a radius into a circle
here is the solution: %% Example data x = (2:0.1:8); data = sin(x); %% Shift the values towards the center, so...
10 years 前 | 1
| 已接受
提问
transform a radius into a circle
<</matlabcentral/answers/uploaded_files/23092/plot%202D%20mesh%20from%20line.jpg>> I have some data along a line in a Cartesi...
10 years 前 | 3 个回答 | 0
3
个回答提问
create a loop using regexp
I have imported a bench of text file into MATLAB using list_files2load = dir(fullfile(directory1,'Mod1*)); In those fi...
10 years 前 | 2 个回答 | 0
2
个回答提问
How can I select specific text files ?
I have imported a bench of text file into MATLAB using list_files2load = dir(fullfile(directory1,'Mod1*)); But then in...
10 years 前 | 2 个回答 | 0
2
个回答提问
extend and smooth a digital elevation model
Hello, I'm looking for a way to extended my digital elevation model in the x and y direction, and in the same time to smooth ...
11 years 前 | 0 个回答 | 0
0
个回答提问
find a specific file
Hello, I have different data on a similar numerical model stored in text with similar but different names. What I want to ...
11 years 前 | 2 个回答 | 0
2
个回答提问
give the matrix a name
Hi, I import some text files, and i extracting just the number from each text file and I want to save the matrix with the sho...
11 years 前 | 2 个回答 | 0
2
个回答提问
unique
Hi, I have a matrix (1000*6). I want to delete duplicate rows. Then I want to know which row have been deleted since I have a...
12 years 前 | 1 个回答 | 0
1
个回答提问
transparency
Hi, I'm drawing a black circle on top of a rose diagram. I'm trying to set that circle half transparent circle=area(X,Y...
13 years 前 | 1 个回答 | 0
1
个回答提问
rose diagram
Hi, I'm plotting rose diagrams using the function rose. I would like to have the outer circle of my rose diagram to be repres...
13 years 前 | 1 个回答 | 0
1
个回答提问
voronoi within a pre-defined area
Hi I asked a question couple of weeks ago concerning the generation Voronoi polygon within a closed area. but I’m still stuc...
13 years 前 | 2 个回答 | 0
2
个回答提问
roipoly
Hi, I would like to know if it is possible to create a ROI on a current figure. x=[1 2 3 4 5 6]; y=[7 8 9 10 11 12]; ...
13 years 前 | 1 个回答 | 0
1
个回答提问
Voronoi within a pre-defined area
Hi folks, I would like to calculate the voronoi of a point population but only within the convex hull of that population of poi...
13 years 前 | 0 个回答 | 0
0
个回答提问
matrix manipulation
Hi, I would like to transform a matrix (5005*3) into a (165*91). Moving packets of lines (for example (92:182,1:3) and (183:2...
13 years 前 | 1 个回答 | 0
1
个回答提问
generate sequence
Hi, I'm stuck with a problem trying to generate sequences with points having different possible positions within that sequenc...
13 years 前 | 4 个回答 | 0
4
个回答已回答
XGrid
ylim=ylim(subplot(4,5,j)); yMinor=linspace(ylim(1),ylim(2),length(s(:,1))); p=zeros(1,length(s(:,1))); plot(p,yMinor,'-...
XGrid
ylim=ylim(subplot(4,5,j)); yMinor=linspace(ylim(1),ylim(2),length(s(:,1))); p=zeros(1,length(s(:,1))); plot(p,yMinor,'-...
13 years 前 | 0
提问
XGrid
Hi, I'm looking to set up the Xgrid on but only for the zero value, i wrote that set(gca,'XTick',0,'XGrid','on') but only...
13 years 前 | 2 个回答 | 0
2
个回答提问
Plot on different figures during a loop
Hi, I'm extracting from different files some data that have ot plot on the same plot, I use a loop like figure, hold on ...
13 years 前 | 3 个回答 | 4
3
个回答提问
text file dlmwrite fprintf save
Hi, It might be another question on this subject.. but i'm confused saving text files. i have a basic code with data(2,49)...
13 years 前 | 2 个回答 | 0
2
个回答提问
scatter3 in log-log-log
Hi, I was wondering it was possible to generate a scatter3 plot but with one, or two or the three axis in log? Thanks n...
13 years 前 | 2 个回答 | 0
2
个回答已回答
saving or not matrices
Actually I found that way barycenter(barycenter(:,:)==0)=NaN; %replace zeros with NaN if isnan(barycenter(1:1))<1 Name...
saving or not matrices
Actually I found that way barycenter(barycenter(:,:)==0)=NaN; %replace zeros with NaN if isnan(barycenter(1:1))<1 Name...
13 years 前 | 0