Réponse apportée
Direction of display of loop
t = linspace(0,2*pi); x = cos(t)*sqrt(5); y = sin(t)*sqrt(5/2); plot(x,y) %text showing the location of 3 points tex...

presque 15 ans il y a | 0

Réponse apportée
How to create dialog boxes to select the file and display output ?
You got the line wrong [NUM,TXT,RAW]=xlsread('2.csv') You ask the user for the name of the file so you should use that...

presque 15 ans il y a | 2

| A accepté

Réponse apportée
Use fprintf to create a multiplication table.
clc Start=6; Stop=6; for u=Start:Stop; for v=1:13; fprintf('%d times %d is %d\n',u,v,u*v) end ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Creation of new column
%code a=[0 0 0 1 2 5 2 3 6 3 4 4 4 1 3 6 4 8 5 2 9 2 5 5] b=[0;sum(a,2)]; c=[a b(1:end-...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
how many values it display
numel(l)

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Axes in GUI
%after plotting set the colors set(gca,'XColor',[1 0 0]) %x scale in red set(gca,'YColor',[0 1 0]) %y scale in green You ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
flipud script problem
axis is a matlab function and you gave your script the same name, when you do axis xy your are actually calling your own script ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
how to implement fastica algorithm inmatlab
http://research.ics.tkk.fi/ica/fastica/code/dlcode.shtml

presque 15 ans il y a | 1

| A accepté

Réponse apportée
Error in XData=get(get(gca,'children'),'XData)
Instead of gca you should use the handle for the axes that contains the data you want. If you really want to use gca you can ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
How can I determine if a help dialog box is open, and then close it if it is open
try close(obj.info) catch end

presque 15 ans il y a | 0

| A accepté

Réponse apportée
storing of values in matlab
x and y are variables, in that case they are vectors 1xn columns, you can do many operations to them. x and y have the same siz...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
storing of values in matlab
change polar(theta,AF) to h=polar(theta,AF) After that code get the data like this x=get(h,'Xdata') y=ge...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
can we strore values in matlab
Yes we can! Show us the formula and we show you how :)

presque 15 ans il y a | 0

Réponse apportée
save function in matlab
doc function

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Array content: Combine individual value into one single value & after substitution
X = [1 2 1 2 3] char(X+64)

presque 15 ans il y a | 0

Réponse apportée
Extract one frame of an audio file
[y, Fs, nbits] = wavread(filename); soundsc(y,Fs); %listen to all the wav y1=y(1:2000); %listen to the first 2000 samples ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Sinusoid plots, XTick
clf t=0:0.01:2*pi; y=5*sqrt(2)*cos(2*pi*t+pi/4); %hold on %in case you want to draw your own y lines instead of using GR...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Attack of the spammers?
There's a remote chance that she's really in love with you! ahahah I didn't receive one of those yet

presque 15 ans il y a | 0

Réponse apportée
How can I assign numbers to variables names?
That's a very bad idea and there are already several similar questions at matlab answers. <http://www.mathworks.com/matlabcentr...

presque 15 ans il y a | 3

Réponse apportée
How to filter a noisy sound with Kalman filter?
Please take a look at <http://www.mathworks.com/matlabcentral/fileexchange/28134-kalman-equivalent-lowpass-filter Kalman equival...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Plotting Sierpinski's triangle
Almost forgot to post my code, hope this helps those who bother to search a little bit clf hold on N=100000; x=zeros(1,N);y=...

presque 15 ans il y a | 5

| A accepté

Réponse apportée
size of nonzero entries in each row of a matrix without loop
Another option but not so good like Walter suggestion a=[0 1 2 3 1 0 0 0 5 0 1 ...

presque 15 ans il y a | 0

Réponse apportée
char array comparison
a=['20070801';'20070802';'20070803']; %some date values b=20070802; %value to compare a(find(str2num(a)<b),:) %date values ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Manipulating outputted answers from a loop
N=10; x=zeros(N,1); for i = 1:N x(i) = 2*i; end

environ 15 ans il y a | 1

| A accepté

Réponse apportée
other than strcmp???
a=logical([1 0 1 1]) b=logical([1 0 1 1]) isequal(a,b) ans= 1 a=logical([1 0 1 1]) b=logical([1 0 0 1]) ...

environ 15 ans il y a | 0

Réponse apportée
Generate Relative Peak Position Reports
put the x position of all of them in a vector (x) and do diff(x)

environ 15 ans il y a | 0

Réponse apportée
matrix similarity
mat1 and mat2 with the same size 100*numel(find(mat1==mat2))/numel(mat1)

environ 15 ans il y a | 1

Réponse apportée
Replace value in matrix
Two options: 1-ignore first column mat(:,2:end) 2-replace the zeros on the first column mat(mat(:,1)==0)=inf %replace ze...

environ 15 ans il y a | 0

Réponse apportée
Is there anyway to get all adjustable parameters of a Simulink model to Matlab workspace?
get_param('mymodel/myblock','ObjectParameters')

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Multiple signals into a scope??
<http://www.mathworks.com/matlabcentral/answers/2947-simulink-and-arduino-please-help Another question like the one you did befo...

environ 15 ans il y a | 0

Charger plus