dock a matlab figure in another matlab figure
I have an easy questions for you expert of matlab.
I need to dock a matlab figure in another figure.
What is the procedure ???
Thanks for your precious help,
> I need to dock a matlab figure in another figure.
AFAIK, you can't.
> Chris wrote:
>> I need to dock a matlab figure in another figure.
> AFAIK, you can't.
there's something "similar" since matlab 7 (afaik). however, i don't
know how to control this from a program:
- open two figures
- on each, cli...how to call matlab file to another matlab file
i am working on simulation of power system using matlab. for that i
have written codes for generation side and line side separately. Now i
want to use the result of generation file to line file....so how can i
use the result of one file to another....
eg i have gen.m file from that i can get hourly gen data....now i want
to compare that data to line.....and line modelling is done in
separate file line.m so i want to call result of gen.m file to line.m
waiting for ur valuable suggestion
...FFTW in Matlab
This link is not really related to Matlab. So please bear with me a
If I only use a Intel Pentium PC and VC6++ compiler, is it possible
to minimize the footprint of FFTW? (because some files are for other
CPUs and OS's)
BTW, can anyone tell me an exact link(s) to download FFTW on Windows?
On the download site, it says VC6++ is buggy, in what sense?
Thanks a lot.
This is a link for how I compiled fftw version 2 on Windows...FFTW on DSP
I'm planning to use FFTW library on the DSP....has
anybody used it with code composer studio to generate the coff file for
the DSP ??..please share your experiences
I woould suggest that you use the manufacturer's optimized FFT vice FFTW.
FFTW is designed for general purpose processors. The chip maker will have
special code that takes advantage of all the special hardware designed into
the DSP chip. FFTs execution speed is a major marketing number so all chip
vendors that I am aware put lots of effort into getting the best possible
spe...FFTW and Matlab
Does Matlab use FFTW (http://www.fftw.org/index.html) algorithms? Is
Harmonic Software wrote:
> Does Matlab use FFTW (http://www.fftw.org/index.html) algorithms? Is
> source included?
> Beau, email@example.com
doc fft (section about the algorithm). you can believe me, it pays to
first have a look into the docs before going public...
...one complex fft2 vs. two real fft2's with fftw
I have a function performing the fft2/ifft2 of two arrays, e.g. 'a' and 'b' (doubles, strictly real). From an overly simplistic test script (see below), the profiler shows it to be 35% quicker if I use fft2/ifft2(a+i*b) rather than performing the operations on the arrays individually [1024x1024] (discovered on a lark).
Does anyone have any experience/insight on this? Is this just because I haven't done any tuning with fftw? Would it be worthwhile building an fftw wisdom base for arrays this small?
I'm running 2007a on OS X.4 (Tiger) on a Core 2 Duo MacBook w/ 2GB o...matlab fft and fftw
I did a simple test (1d fft) of some data with fftw and matlab.
The results seem to differ. I wonder what am I missing?
I need to port my codes from matlab to a custom program.
Many thanks for any help.
fftw_complex *in, *out;
int N = 16;
in = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);
out = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);
in = -157;
in = -157;
in = -163;
in = -162;
in = -153;
in = -147;
in = -146;
in = -148;
in = -152;
in = -152;
in = -153;
in = -154;
in = -156;
in = -161;
in = -160;
in = -153;
for (int i = 0; i < N; i++)
in[i] = 0;
p = fftw_plan_dft_1d(N, in, out, FFTW_FORWARD, FFTW_ESTIMATE);
This is what I got:
compare this to the following I got from fft in matlab
On May 18, 7:37=A0am, "Marc2050" <maarcc@n_o_s_p_a_m.gmail.com> wrote:
> I did a simple test (1d fft) of some data with fftw and matlab.
> The results seem to differ. I wonder what am I missing?
> I need to port my codes from matlab to a custom program.
> Many thanks fo...another FFTW problem
Hi, I am using FFTW to try another test, f(t)=exp(-x), x>=0, the real par
of the Fourier transforms should be 1/(1+x^2). I use xmax=1000, and xmin=0
let N=8192. I found the results seems shifted upper, every output value i
larger than the analytical solution.
My code is like this:
double complex in
double complex out
double precision f
real*8 :: x,y,xmax,xmin,dx
! write(*,*) 'Input array:'
do i = 1,N/2+1
write(7,*) i,x,real(in(i)), imag(in(i))
!call dfftw_plan_r2r_1d (plan, N, in, out, fftw_r2hc, FFTW_ESTIMATE)
call dfftw_plan_dft_1d (plan, N, in, out, FFTW_FORWARD, FFTW_ESTIMATE)
!write(*,*) 'Output array:'
do i = 1,N
i,f(i)*2*pi,real(out(i))*dx,imag(out(i))*dx,1./(1.+(f(i)*2.*pi)**2),-f(i)*2.*p...Another week, another
Mac service pack. 10.5.8 is out. Will Apple ever get their OS fixed?
Tommy Troll wrote:
> Mac service pack. 10.5.8 is out. Will Apple ever get their OS fixed?
Only a stop gap solution once you realize iPhones are priority 1.
In article <4A7A3995.firstname.lastname@example.org>, JohnQ <Johnquincygunn@aol.com>
> Tommy Troll wrote:
> > Mac service pack. 10.5.8 is out. Will Apple ever get their OS fixed?
> Only a stop gap solution once you realize iPhones are priority 1.
Too bad for that theory, given that iPod sales are trending down,
iPhone/Touch is trending up, but doesn't match Apple's biggest income
source, which is its Mac lineup.
Steve Hix wrote:
> In article <4A7A3995.email@example.com>, JohnQ <Johnquincygunn@aol.com>
> > Tommy Troll wrote:
> > > Mac service pack. 10.5.8 is out. Will Apple ever get their OS fixed?
> > Only a stop gap solution once you realize iPhones are priority 1.
> Too bad for that theory, given that iPod sales are trending down,
> iPhone/Touch is trending up, but doesn't match Apple's biggest income
> source, which is its Mac lineup.
May be true, but more ads and effort is behind the phone. Or had you
not noticed that the Mac ads are way down?
Posted from my Blackberry
On Wed, 5 Aug 2009 18:46:42 -0700, Tommy Troll wrote
> Mac s...FFTW planner in Matlab R14
I'm trying to evaluate the speed of fftw in matlab 7 (R14) but I can't
get it to use the planner.
One of the calls I'm trying to get to work is
It seems that the first call to fft2() takes a lot of time
which makes sense but the time of the time (tic,toc) of subsequent
calls are exactly the same as with the trivial planner,
Has anybody else got this stuff to show any improvement?
I have played with the fftw3-codebase directly and the speedup
using the exhaustive planner in singl...Question about DSP in Matlab (beginner)
I'm starting to learn DSP (Matlab )and I have two questions about it,
maybe someone can help me out?
I'm trying to measure a frequency from an Audio Device and I'm using FFT
to transform it from the time domain to the frequency domain. But I am
doing a downsample before the FFT. But you can also do it after the FFT.
Do you know what would be the most efficient (before or after)? And why?
Another question, I am using zero padding to increase my system resolution
(up to 50Hz). My frame length is N=256 and sample frequency fs= 44100 Hz.
So 44100/50 = 882, so I need to add 626 zeroes (to 256 frame length) to
get 50 Hz resolution, I hope this is correct? I believe this is done for
FFT. But is this the same for the DFT?
Thank you and regards,
Posted through http://www.DSPRelated.com
>I'm starting to learn DSP (Matlab )and I have two questions about it,
>maybe someone can help me out?
>I'm trying to measure a frequency from an Audio Device and I'm using FFT
>to transform it from the time domain to the frequency domain. But I am
>doing a downsample before the FFT. But you can also do it after the FFT.
>Do you know what would be the most efficient (before or after)? And
>Another question, I am using zero padding to increase my system
>(up to 50Hz). My frame length is N%6 and sample frequency fs= 44100
>...How to link another program in MatLab
I want to know the matlab command with which I can open and run
another program. It is like matlab is a MS-dos command window.
"Z J" <firstname.lastname@example.org> wrote in message
> Hello, gurus
> I want to know the matlab command with which I can open and run
> another program. It is like matlab is a MS-dos command window.
Read yesterday's thread: "How to run executable files from Matlab," or
google CSSM for many more discussions of same.
...How to communicate matlab and another process?
Here is the situation. I have matlab and a java process that i want
By the occurrence of an event, this process will send matlab a
- information to be updated in a specific point of a file and;
- a command to perform some calculations with the updated data;
After this, matlab has to send a message back to the process and
inform the result of the calculations that were just done.
Can anyone help me with this?
Thanks in advance.
...launching matlab with another application
I just wanted to launch automatically a m-file with another
application (on windows). Should I use the Matlab engine with a C
program, or is it no simple solution like command line... ?
John Doe wrote:
> I just wanted to launch automatically a m-file with another
> application (on windows). Should I use the Matlab engine with a C
> program, or is it no simple solution like command line... ?
> John Doe
%PathToMatlabExec%\Matlab.exe /r fileToRun.m
see also "Adding Startup Options for Windows Platforms" ...Matlab to simulink to TI DSP
We have developed a Wimax 802.16e model using Matlab
floating point implementation.
Now we need to move this model to simulink model and use
real time workbench to implement it on TI DSP.
Is it possible? What's the limitations ?
...Close another .exe from Matlab
How can I make Matlab -- eventually through Java -- close another program (.exe) that was previously open by Matlab with the function open()?
...Matlab DSP jobs for graduates
Hi people.First of all I want to thank you all for your contribution
to this newsgroup.I found it very useful during my university
education and hope to use it post graduation.
I have been programming in Matlab for the past 2 years and I am
looking for a job that involves Matlab DSP and algorithm
development.A search on google doesnt give much results so your help
will be appreciated.If you know any agencies that specialise in
Matlab jobs in UK then please share with me.
> Hi people.First of all I want to thank you all for your contribution
> to this newsgr...Matlab Engine on another computer
Is there a way to make a standalone application using the Matlab
Engine to work on another computer that doesn't have Matlab ?
What is neccessary to make it work ? DLL, anything ? thanks
well thanks for the information
I am running Matlab 2008a On windows Xp sp2.
Using Visual Studio 2008, loading matlab engine from a c++ application.
In article <email@example.com>,
>Is there a way to make a standalone application using the Matlab
>Engine to work on another comput...running another .exe in matlab
I want to use in my program the results generated by another program.
How can I run in my Matlab program an executable?
"Alina S" <firstname.lastname@example.org> wrote in message
> I want to use in my program the results generated by another program.
> How can I run in my Matlab program an executable?
> Thank you.
See HELP SYSTEM, HELP DOS, and/or HELP UNIX.
"Alina S" <email@example.com> wrote in message
> I want to use in my program ...Another MATLAB Builder JA Thread...
I am trying to create a Java project from my MATLAB code using MATLAB Builder JA. I have installed MATLAB Builder JA and added the path (.../toolbox/javabuilder) to MATLAB (version R2009b). Now when I click start in the MATLAB GUI and goto the MATLAB option then over to "MATLAB Builder JA". It shows up so I am assuming it should be working.
I also checked my javac -version and java version environment variables by typing each into my command prompt.
Honestly I just want to package my code. Does anyone have any ideas to what my problem might be?
-Je...From theory to practice
I'm familiar with stationary (FIR/IIR) and adaptive filtering. My matlab
skills are OK but I've never done any practical DSP in matlab. There is a
book called "Digital Signal Processing using Matlab" by Ingle and Proakis.
It starts with very simple things which I find extremely boring so I
wonder whether it's the best way to learn how to process some signals.
Any useful tutorials or advice would be welcome.
On Sat, 2 Jun 2012 08:40:35 +0000 (UTC), "Benjamin S." <firstname.lastname@example.org>
>[...] My matlab
>skills are OK but I've never done any practical DSP in matlab. There is a
>book called "Digital Signal Processing using Matlab" by Ingle and Proakis.
>wonder whether it's the best way to learn how to process some signals.
"When all you have is a hammer, everything starts to look like a nail."
Matlab can be an amazing tool for mathematics. For signal processing it leaves a
few things to be desired. (I'll leave it to others to be specific about this.)
For LEARNING signal processing, it's like learning to drive in a car with an
automatic transmission -- you'll do okay, but you won't understand the
fundamental relationships between torque, RPM, gearing, etc. And unless you
specifically set out to learn them, you'll be limited to driving cars with
automatic transmissions for your whole life.
On Sat, 02 Jun 2012 07:35:18 -...whom to contact to matlab from one system to another
Hello every one,
I purchased student version of Matlab when I was full time
student. Now I working full time for a company and my
thesis is still pending and I need to use matlab again for
completion of my pending thesis. Previously it is
installed in a older laptop of mine.I am just wondering
how to move Matlab from old laptop to new ones. Since I
will be using student version for academic purpose i.e for
my thesis I am just wondering how to reinstall into new
laptop and procedure i.e whether I need to uninstall
Matlab from old system etc.Thanks for any help.
Q. How do I move Stude...How to implement MATLAB code on DSP kit
i have designed a path planning for UAV by using bezier curve on MATLAB R2008a
the designing is good but i want to implement it on DSP kit, i have no idea about the DSP kit and its usage. So kindly anyone can help me please or reply me on the address given below.
...Complex FFT in DSP vs Matlab
I use TMS320c6713 DSP.
I compared result of complex fft library in TI DSP with result of
complex fft in Matlab.
Those waveform in frequency domain are similar, but exactly not
Range of result in DSP library is wider than one in Matlab.
> Hi, everyone!
> I use TMS320c6713 DSP.
> I compared result of complex fft library in TI DSP with result of
> complex fft in Matlab.
> Those waveform in frequency domain are similar, but exactly not
> It means..
> Range of result in DSP...