Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Browsing all 19628 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Does HDL Coder support testbench generation for FFT block in Simulink?

Hi, I am using Matlab Simulink "HDL FFT" block. I want to generate testbench for this block. Unfortunately, I find that "HDL Coder Generation" submenu, "Test Bench" tab option contents are in grey....

View Article


Image may be NSFW.
Clik here to view.

Re: help with writing a short program using square waves, fourier series...

Thanks so much! that helped alot :)so far i got this x=linspace(0,2*L,500); y=4/pi; maxn=500; for n=0:(2*L)/(500-1):2*L;    y=(4/pi)*(1/n)*sin(n*pi*x/L); (((i tried putting y+ in the beginning but that...

View Article


Image may be NSFW.
Clik here to view.

How to create structure array in MATLAB GUI pushbutton

Hi, I am trying to code in MATLAB GUI push button for calculation, that calculation I firstly coded in Script file and is ok, but in GUI pushbutton i am facinng some problem, I would like to show the...

View Article

Image may be NSFW.
Clik here to view.

Updating LEGEND in loop after CLA

I've got a custom function similar to COMET (shows an animation of a trajectory). After a few iterations, I clear the figure using CLA and start plotting again. This is all happening in a for loop....

View Article

Image may be NSFW.
Clik here to view.

Re: Difference of cost functions in optimization?

On 2/21/2013 6:16 AM, Pascal Schulthess wrote:> Hi everyone,>> I'm working quite a long time with lsqnonlin and comparable functions > but now I'm wondering if there's a difference between...

View Article


Image may be NSFW.
Clik here to view.

Error generating custom library

I am trying to build a +THyd package using the following mfiles given inhttp://www.mathworks.in/help/physmod/simscape/lang/working-with-domain-parameters.html and this is the error i get while typing...

View Article

Image may be NSFW.
Clik here to view.

Re: Stack order of patches in barplot

On Sunday, February 10, 2013 6:03:17 AM UTC+1, matt dash wrote:> wrote in message <8ad19955-4349-4ed0-957a-91218550e3b9@googlegroups.com>...> > > Hi NG,> > > > > > I...

View Article

Image may be NSFW.
Clik here to view.

Threads in Neural Network in Train/Validation/Test

Dear All, I am using MATLAB R2009a. I have a different answer for train/validation/test from two different method: 1) I Use: [net tr] = train(net,trainV.P,trainV.T,[],[],valV,testV); to train the...

View Article


Image may be NSFW.
Clik here to view.

Re: Nested For loop issue...

"BILAL USMANI" <bausmani82@yahoo.com> wrote in message <kg31nr$8kv$1@newscl01ah.mathworks.com>...> But this is highly inefficient, espicially when I have the order of Itot as 1000 by...

View Article


Image may be NSFW.
Clik here to view.

Re: SimEvents Entities

Use the same approach in the link, but set the service time using an attribute. For all entities being preloaded into the server, set the service time attribute to a percentage of the expected service...

View Article

Image may be NSFW.
Clik here to view.

Re: Using @times or @prod with cellfun

a = ... s = [size(a,1) size(a,2)]; b = permute(a(:,:,[1 3]),[3 1 2]); % chose the slides here r = arrayfun(@(k)prod(cat(1,b{:,k}),1),reshape(1:numel(i),s),'unif',0) % Bruno

View Article

Image may be NSFW.
Clik here to view.

Re: Disable Error beep

Dear Rafael,> > Although you could disable the error beep of the operating system, another simple solution would be to avoid errors. ;-)> Nobody is perfect and errors come and go, your code is...

View Article

Image may be NSFW.
Clik here to view.

Orientation Differences between Coordinate Frames

Hi-  I’m looking for an easy way to determine rotational differences between coordinate frames in 3D space. My data looks like this: Coord1=[X Y Z RotX RotY RotZ] X, Y, Z => location of Coord1 using...

View Article


Image may be NSFW.
Clik here to view.

Re: Threads in Neural Network in Train/Validation/Test

"Subodh Paudel" <subodhpaudel@gmail.com> wrote in message <kg5upc$pgj$1@newscl01ah.mathworks.com>...> Dear All,> I am using MATLAB R2009a. I have a different answer for...

View Article

Image may be NSFW.
Clik here to view.

Re: Do the neural network solves the higher non-linear equation and can it...

"Muna Adhikari" <adh.muna@gmail.com> wrote in message <kg3ie7$h5s$1@newscl01ah.mathworks.com>...> Dear Sir or Madam;> > I am a graduate student in Physics from NEPAL. I am going to...

View Article


Image may be NSFW.
Clik here to view.

Re: neural network input

"srishti " <srishti.sondele@gmail.com> wrote in message <kg30rq$5i3$1@newscl01ah.mathworks.com>...> hi everyone,> I am using Empirical mode decomposition, for feature extraction of an...

View Article

Image may be NSFW.
Clik here to view.

Re: Logarithmic Interpolation

The following works for data such as a spectrum of noise power in dB versus frequency, where we have a linear y-axis and a logarithmic x-axis and a few data points with linear transitions between the...

View Article


Image may be NSFW.
Clik here to view.

Conditional probability

Hi All, I am having some problems in calculating conditional probability. To explain my case, I have a normally distributed sample (say, mu = 5.0, std = 2.0) and I would like to calculate the...

View Article

Image may be NSFW.
Clik here to view.

Re: Question about bootstrapping to increase sample size

> Hello. I have data that is 45 trials, each 60 samples long. I have heard > bootstrapping can resample it to give "new" data that can be used in > classifier training. Can I just double-check...

View Article

Image may be NSFW.
Clik here to view.

Re: Suitable form of solution

"Milos Milenkovic" <m.milenkovic@mathworks.com> wrote in message news:kg8kib$5pb$1@newscl01ah.mathworks.com...> As Stiven said solution is based on via VPA like in this case => >...

View Article
Browsing all 19628 articles
Browse latest View live