Réponse apportée
how to add zeros in fronts of any number in matrix
Asking for this probably you do not want anymore your years, months, days vectors to be numbers but chars. Because you know from...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
how can i solve
Hey, a) doc <http://de.mathworks.com/help/matlab/ref/plot.html plot> (search how can you plot diamonds) b) read the docume...

presque 10 ans il y a | 0

Réponse apportée
Which row has the minimum non zero element?
a = [2,2,3;0,2,5;1 2 3] [row,column]=find(a==min(min(a(a>0))))

presque 10 ans il y a | 0

Réponse apportée
Getting all the combinations of 4 vectors?
Hi, The <http://de.mathworks.com/help/matlab/ref/ndgrid.html ndgrid> function almost gives the answer, but has one caveat: n ...

presque 10 ans il y a | 6

| A accepté

Réponse apportée
save values in array in a loop
x = [] % initialize your matrix/vector for i=1:10 % do something useful s=a+b x = [x,s]; end

presque 10 ans il y a | 14

Réponse apportée
how can i find identical rows in a matrix
Use unique() to find the distinct row values. If you end up with fewer rows, there are duplicates. It'll also give you indexes o...

presque 10 ans il y a | 10

| A accepté

Réponse apportée
how to plot different figures from the same matrix
Hi Thodoris, As i understood in each day you (may) have more that one timestamps of measurements and you want a figure (or pl...

presque 10 ans il y a | 0

A résolu


Make a Star Pyramid
Create a star pyramid. First line will have 1 star, second will have two stars and so on... a basic program which is easily done...

presque 10 ans il y a

Réponse apportée
How to write a program to draw a triangle of stars in MATLAB?
Hi, For the first x = []; for i = 1 : 5 x = strcat(x,'*'); disp(x) end for the second x = []...

presque 10 ans il y a | 2

Réponse apportée
How to plot a 2d matrix on a 3d graph?
Hi, So the problem is that you do not want to plot a matrix but the information contained in 3 vectors (which are the columns...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
HELP!! Seriously struggling with my final MATLAB assignment! I've been doing it for over 6 hours now and I'm ridiculously stuck :( if anyone could help at all I would REALLY appreciate it :( THANK YOUUU
Hi, I agree fully with the above comments. Take a deep breath and relax! and that by the Mfile that you attached you already ...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
import data from Excel
1) Have a look here <http://de.mathworks.com/videos/importing-spreadsheets-into-matlab-68987.html Importing Spreadsheets into MA...

presque 10 ans il y a | 0

Réponse apportée
How to make a column vector of 2 distinct numbers
Many possible solutions V = [ones(100,1);2*ones(300,1)]; or V = [repmat(1,100,1);repmat(2,300,1)]; or...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
How to add markers to a single line in plotyy
Hi, Here's one way: [ax h1 h2] = plotyy(newtime1,AnInput1f,SPMnewtime,SPM) set(h1,'Marker','.','MarkerSize',8) set...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
check if the picture exist within the database
Hi, you could use an exception catcher Directory = fullfile ('C:','Users','Documents','MATLAB','image'); Images = dir...

presque 10 ans il y a | 0

Réponse apportée
Help with saving files
Hi, I think that <http://de.mathworks.com/help/matlab/ref/dir.html List folder contents> and <http://blogs.mathworks.com/pick...

presque 10 ans il y a | 0

Réponse apportée
one equation with one unknown variable
Hi, fzero checks that fun(x0(1)) and fun(x0(2)) have opposite signs, and errors if they do not. In you example the upper boun...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
how to Draw a circle around a choosen node in a graph ?
Hi, I cannot understand fully your question or what do you want to generate. You could use a simple function to plot a circle...

presque 10 ans il y a | 1

| A accepté

Réponse apportée
I need to replace all the negative values with a reacuring loop of random values.
Hi, There many and different solutions on your problem r1 = randi([-10,10],1,20); % first sample idx = find(r1<0); % ...

presque 10 ans il y a | 1

| A accepté

Réponse apportée
How to generate a random number in matlab?
Hi, myrandom = randi([0.01,50],1,1); Have a look here <http://de.mathworks.com/help/matlab/ref/randi.html Uniformly dist...

presque 10 ans il y a | 1

Réponse apportée
How do I generate a two dimensional Fourier Transform with a given image in a .mat file?
Hi, Mathworks documentation is excellent and is always a good point to start. Have a look here <http://de.mathworks.com/help/...

presque 10 ans il y a | 0

Réponse apportée
Generating a random matrix with non-static constraints
Hi, I think the following will be a help for you. http://de.mathworks.com/matlabcentral/fileexchange/9700-random-vectors...

presque 10 ans il y a | 0

Réponse apportée
I need to generate samples of two dimensional random variables....using matlab
Hi, Try pinky <http://www.mathworks.com/matlabcentral/fileexchange/35797> Regards,

presque 10 ans il y a | 0

Réponse apportée
Why is does the y axis of the graph have the same value all the way down?
Are you sure that your formula is correct? You pass into cosine function not pi but pi^2 when you plot. You pass into variable t...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Can xlsread (Matlab) read pre-named range in Excel by range name?
Hi Yiting, The best and the most efficient solution in such cases is to use another function (Not Matlab standard) which is t...

presque 10 ans il y a | 0

Réponse apportée
How can I add one character before each line of textfile?
Hi Bob, What about this: fid1 = fopen('file1.txt'); fid2 = fopen('file2.txt','w'); tline = fgets(fid1); Cha...

presque 10 ans il y a | 2

Réponse apportée
I have no matlab experience and i need this done
Hi John, As Guillaume told you, you are basically asking for someone to do your assignment. I wont do this but i can give you...

presque 10 ans il y a | 0

Réponse apportée
Got an error when using cell2csv in Matlab 2014b version
Hi Simon, You could use another delimiter e.g. semicolon (";"). Initially it was to be a comma (CSV-Comma separated value...

presque 10 ans il y a | 0

Réponse apportée
Got an error when using cell2csv in Matlab 2014b version
Hi Simon, As Abhishek mentioned cell2csv is not a MATLAB built in function. You can use something from MATLAB file exchange e.g...

presque 10 ans il y a | 0

Question


VTD-XML -- XPath Evaluation Performance
For a lot of years i use DOM oblects (JDK) to read XML files (XPath). Since some weeks i found the * <http://vtd-xml.sourceforge...

plus de 10 ans il y a | 1 réponse | 1

1

réponse