Question

Unexpected behaviour with xlswrite.m?

Well it unexpected to me anyway. A is a matrix of doubles, size 11*61. I wish to write the matrix to an xls file. i type: ...

fast 9 Jahre ago | 0 answers | 0

Question

hmmtrain.m with unknown state sequence (Baum-Welch)

I have a vector of observations Y. I do not know the state sequence of the latents. I wish to find the the transistion and emiss...

fast 9 Jahre ago | 3 answers | 1

Question

caxis and colorbar and imagesc; Scaling issue??

I am trying to use a subplot to plot probabilities (0->1) with a colorbar. function myFunc() %% get A K = 10; A1 =...

etwa 9 Jahre ago | 0 answers | 0

Answered

colorbar: cdata and colors

I have been trying to apply the answers given here to <http://www.mathworks.com/matlabcentral/answers/50180-caxis-and-colorbar-s...

colorbar: cdata and colors

I have been trying to apply the answers given here to <http://www.mathworks.com/matlabcentral/answers/50180-caxis-and-colorbar-s...

etwa 9 Jahre ago | 0

Question

Colorbar mapping colors incorrectly on complex subplot image

I have code that says: figure; color hsv; subplot(511); hold all; heatmaptext(data1, 'COLORBAR',false); %data i...

etwa 9 Jahre ago | 0 answers | 0

Question

YTickLabel Rotate and 3D plots

I have some data and wish to plot it using surf.m eg mat = randn(100,5); surf(mat) I can label the 3 axis of my plot ...

etwa 9 Jahre ago | 0 answers | 0

Answered

Plotyy and linkprop problem

solved: T = 1000; time = 1: T; x1 = rand(T,1); x2= rand(T,1); myTime = {... '08:00' '08:10' '08:...

Plotyy and linkprop problem

solved: T = 1000; time = 1: T; x1 = rand(T,1); x2= rand(T,1); myTime = {... '08:00' '08:10' '08:...

mehr als 9 Jahre ago | 0

| accepted

Question

Plotyy and linkprop problem

hello. I type: T = 1000; time = 1: T; x1 = rand(T,1); x2= rand(T,1); myTime = {... '08:00' '08:10' ...

mehr als 9 Jahre ago | 2 answers | 0

Question

Stacked Bar and Legend Handles

Using 2010B. I say: h1=bar(x1, y1, 'r', 'stack'); hold all; h2=bar(x2, y2, 'b', 'stack'); [legend_h, object_h, ...

mehr als 9 Jahre ago | 1 answer | 0

Question

Error using ==> rdivide

For w = randn(10, 51300); w = w./ sum(w,1); i get ??? Error using ==> rdivide Matrix dimensions must agree....

mehr als 9 Jahre ago | 2 answers | 0

Answered

Wrapping an angle

phiOut = wrapToPi(nancumsum(abs(diff(phi))));

Wrapping an angle

phiOut = wrapToPi(nancumsum(abs(diff(phi))));

mehr als 9 Jahre ago | 0

| accepted

Question

Wrapping an angle

Where v is a vector between -1 and +1 I say phi = acos(v); %returns phi varying 0->pi I have also read: <http://en.wi...

mehr als 9 Jahre ago | 1 answer | 1

Question

stuck on a simple cumsum prob

I have a variable x. I make a variable y. I now need to regenerate my variable xNew from y. Its very close but not exact. Why...

mehr als 9 Jahre ago | 2 answers | 0

Question

Send Text Message to UK Mobile Phone

Hello. I see this excellent looking function from 2007: <http://www.mathworks.com/matlabcentral/fileexchange/16649-send-te...

mehr als 9 Jahre ago | 0 answers | 0

Question

sendmail.m and HTML emails

I often use sendmail.m using gmail on win7 to send emails to myself when simulations have finished running etc. sendmail.m al...

mehr als 9 Jahre ago | 1 answer | 0

Answered

MATLAB gets stuck in the "Initializing" state during startup from bat file

just spoke to matlab about this. When calling matlab from the command line and going straight into a function, matlab will s...

MATLAB gets stuck in the "Initializing" state during startup from bat file

just spoke to matlab about this. When calling matlab from the command line and going straight into a function, matlab will s...

mehr als 9 Jahre ago | 1

| accepted

Answered

DSP Question: invfreqs.m

Solved. invfreqz.m has some odd rules re calling it. Could do with better documentation/examples to my mind. %% Orginal D...

DSP Question: invfreqs.m

Solved. invfreqz.m has some odd rules re calling it. Could do with better documentation/examples to my mind. %% Orginal D...

mehr als 9 Jahre ago | 0

| accepted

Question

DSP Question: invfreqs.m

I generate some coefficents for a filter and can inspect the frequency response as following: %% Orginal Data N = 5000; ...

mehr als 9 Jahre ago | 1 answer | 0

Question

MATLAB gets stuck in the "Initializing" state during startup from bat file

I am running win7 and MATLAB 2010B. The MATLAB licence is held on our lab licence server. When I start MATLAB normally it run...

mehr als 9 Jahre ago | 3 answers | 0

Question

MATLAB gets stuck in the "Initializing" state during startup from bat file

I am running win7 and MATLAB 2010B. The MATLAB licence is held on our lab licence server. When I start MATLAB normally it ru...

mehr als 9 Jahre ago | 1 answer | 0

Question

plotyy and a third plot

I get the feeling plotyy is most asked about function in matlab. I can do a plotyy with two variables great: function te...

mehr als 9 Jahre ago | 1 answer | 0

Question

fprintf to the command line

Hello. having some problems getting to grips with fprintf.m. please can you help? If I run: function myFunc b=1...

mehr als 9 Jahre ago | 1 answer | 1

Answered

system('shutdown /r')

This seems to be a commonly asked question. It seems like the most likely command I need to pass to system.m is "net logon". ...

system('shutdown /r')

This seems to be a commonly asked question. It seems like the most likely command I need to pass to system.m is "net logon". ...

mehr als 9 Jahre ago | 0

Question

system('shutdown /r')

I wish to restart my machine from MATLAB at 3am say and then call a bat file to run MATLAB from windows task scheduler. When ...

mehr als 9 Jahre ago | 3 answers | 1

Answered

MATLAB to TELNET

http://code.google.com/p/ni-gpib-matlab-wrappers/downloads/detail?name=ni-gpib-matlab-wrappers%20v0.5.zip&can=2&q= t = tcpi...

MATLAB to TELNET

http://code.google.com/p/ni-gpib-matlab-wrappers/downloads/detail?name=ni-gpib-matlab-wrappers%20v0.5.zip&can=2&q= t = tcpi...

mehr als 9 Jahre ago | 0

| accepted

Answered

DOS: Send a Message to a Listening Port via MATLAB

telnet via system.m

DOS: Send a Message to a Listening Port via MATLAB

telnet via system.m

mehr als 9 Jahre ago | 0

| accepted

Question

MATLAB to TELNET

hello. I have a third party program running alongside MATLAB. I wish to send it a message on a specific port. I can do thi...

mehr als 9 Jahre ago | 1 answer | 0

Question

DOS: Send a Message to a Listening Port via MATLAB

I am running win7. Not a "pure" mathlab question, but I hope someone can help. I have a third party application running on my...

mehr als 9 Jahre ago | 3 answers | 0

Question

Filter Design Basics

Hello. I have a simple filter H(z) = 1 - z^-1 I can see my filter by writing: b = [1 -1]; freqz(b,1); what I wo...

mehr als 9 Jahre ago | 1 answer | 0

Question

Digital Filter Design Graphics

Hello. I am using MATLAB 2010B / win7 and have the filter and signal proc toolbox. I have some filtering code up and runni...

mehr als 9 Jahre ago | 0 answers | 0