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

mehr als 15 Jahre vor | 2

| akzeptiert

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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

| akzeptiert

Beantwortet
how many values it display
numel(l)

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

| akzeptiert

Beantwortet
how to implement fastica algorithm inmatlab
http://research.ics.tkk.fi/ica/fastica/code/dlcode.shtml

mehr als 15 Jahre vor | 1

| akzeptiert

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

mehr als 15 Jahre vor | 0

| akzeptiert

Beantwortet
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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

| akzeptiert

Beantwortet
can we strore values in matlab
Yes we can! Show us the formula and we show you how :)

mehr als 15 Jahre vor | 0

Beantwortet
save function in matlab
doc function

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

| akzeptiert

Beantwortet
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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 3

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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 5

| akzeptiert

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

| akzeptiert

Beantwortet
Manipulating outputted answers from a loop
N=10; x=zeros(N,1); for i = 1:N x(i) = 2*i; end

mehr als 15 Jahre vor | 1

| akzeptiert

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

mehr als 15 Jahre vor | 0

Beantwortet
Generate Relative Peak Position Reports
put the x position of all of them in a vector (x) and do diff(x)

mehr als 15 Jahre vor | 0

Beantwortet
matrix similarity
mat1 and mat2 with the same size 100*numel(find(mat1==mat2))/numel(mat1)

mehr als 15 Jahre vor | 1

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 1

| akzeptiert

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

mehr als 15 Jahre vor | 0

Beantwortet
plotting circles
Here's a function to draw circles: function circle(x,y,r) %x and y are the coordinates of the center of the circle %r is ...

mehr als 15 Jahre vor | 15

| akzeptiert

Mehr laden