Community Profile

photo

Nicolas


Universities Space Research Association

Aktiv seit 2011

Statistics

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
import text file in loop
Answer to automatically build 'formatSpec' using the import function created by Matlab. A = repmat('%s',1,201); B = '%[^...

fast 5 Jahre vor | 0

| akzeptiert

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 8 Jahre vor | 1

| akzeptiert

Frage


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

etwa 8 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


generate sequence
Hi, I'm stuck with a problem trying to generate sequences with points having different possible positions within that sequenc...

mehr als 11 Jahre vor | 4 Antworten | 0

4

Antworten

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

mehr als 11 Jahre vor | 0

Frage


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

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 11 Jahre vor | 3 Antworten | 4

3

Antworten

Frage


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

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
saving or not matrices
Actually I found that way barycenter(barycenter(:,:)==0)=NaN; %replace zeros with NaN if isnan(barycenter(1:1))<1 Name...

fast 12 Jahre vor | 0

Mehr laden