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 ArticleRe: 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 ArticleHow 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 ArticleUpdating 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 ArticleRe: 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 ArticleError 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 ArticleRe: 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 ArticleThreads 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleOrientation 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleConditional 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 ArticleRe: 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 ArticleRe: 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