Prev: Matlab + C#
Next: Real Time WorkShop
From: boris on 23 Feb 2010 06:03 Hello everyone, I am trying to create a block model on simulink wich operate as the function histc(x,edges) on matlab. is there a toolbox or a block that can help me? i have few problems: 1. i cant locate rand number block inside a loop 2. i don't how much numbers i need to create with rand() (on histc) 3. how can i locate the range of number on the edges scale? thank you for any help
From: Wayne King on 23 Feb 2010 06:22 "boris " <7kinamon(a)gmail.com> wrote in message <hm0cl6$43b$1(a)fred.mathworks.com>... > Hello everyone, > I am trying to create a block model on simulink wich operate as the function histc(x,edges) on matlab. > is there a toolbox or a block that can help me? > i have few problems: > 1. i cant locate rand number block inside a loop > 2. i don't how much numbers i need to create with rand() (on histc) > 3. how can i locate the range of number on the edges scale? > > thank you for any help Hi Boris, there is a histogram block in the Signal Processing Blockset. >> doc dspblks/histogram Wayne
From: boris on 23 Feb 2010 11:02 i know i tried to use it, the problem is that on this block you can only choose the range of numbers and the resolution. histc(x,edges) on matlab allows you to set the scale mark with the edges vector. on the histogram block there ain't option to input this vector
|
Pages: 1 Prev: Matlab + C# Next: Real Time WorkShop |