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

Image may be NSFW.
Clik here to view.

Toggle button color in mac os X

Hi, I am desperately trying to make my toggle button switching background color depending on its state. The button stays in the 'default' color mode (i.e. dark and light grey when pushed and released...

View Article


Image may be NSFW.
Clik here to view.

integrated embed function in model (simulink)

Hi, My name is Duong. I'm studying in my project using embed function in Matlab simulink. When every step in the model (fix step) is executed, the embed function runs iterative 4 times. I think it had...

View Article


Image may be NSFW.
Clik here to view.

Re: Toggle button color in mac os X

Buttons are normally unaffected by the background color. This is controlled in most cases by the OS, except in rare cases like Win95 or in Windows Classic theme. To get around this, you can  * Set the...

View Article

Image may be NSFW.
Clik here to view.

Re: problems in implementing IIR butterworth filter using fdatool

"Abhishek " <abhimisra92@gmail.com> wrote in message <kqgmtq$3i$1@newscl01ah.mathworks.com>...> Hi. I am trying to design an IIR butterworth bandpass filter with the following...

View Article

Image may be NSFW.
Clik here to view.

Re: Toggle button color in mac os X

Hi, I tried to change the CData property: uicontrol(fh,'units', 'normalized','Position',[0.4 0.55 0.5 0.037],...    'String','Clu 1',...    'Style','togglebutton',...    'CData',[0.9 0.1 0.1],......

View Article


Image may be NSFW.
Clik here to view.

Re: how to generate a gaussian distribution using random number generator

On Thursday, July 4, 2013 12:40:24 PM UTC+12, dpb wrote:> On 7/3/2013 6:52 PM, faraz.a wrote:> > > i want to generate 50,000 samples according to the gaussian distribution> > >...

View Article

Image may be NSFW.
Clik here to view.

force time to zero

I got a formulation that; A=0,1.sin(2.t) X=t-A t=0:2A and t is also simulation time that last 5s. I need a X-t graph. but I dont know how to make time to zero when t=0:2A completed during simulation....

View Article

Image may be NSFW.
Clik here to view.

Re: how to generate a gaussian distribution using random number generator

On 7/4/2013 2:44 PM, TideMan wrote:> On Thursday, July 4, 2013 12:40:24 PM UTC+12, dpb wrote: ...>> For that matter, what's the probability of |z|>5? How does that compare>> w/ the...

View Article


Image may be NSFW.
Clik here to view.

build a matrix

Hi everyone! I have this matrix: A=[11 22 33; 44 55 66; 77 88 99] I want to build this other matrix from A: B=[11 1 1; 22 1 2; 33 1 3; 44 2 1; 55 2 2; 66 2 3; 77 3 1; 88 3 2; 99 3 3] The second column...

View Article


Image may be NSFW.
Clik here to view.

Re: build a matrix

A = [11 22 33; 44 55 66; 77 88 99]; B = [11 1 1; 22 1 2; 33 1 3; 44 2 1; 55 2 2; 66 2 3; 77 3 1; 88 3 2; 99 3 3]; [x, y] = ndgrid(1:length(A)); X = [reshape(A.', [], 1), y(:), x(:)]; isequal(X, B)

View Article

Image may be NSFW.
Clik here to view.

Re: how to generate a gaussian distribution using random number generator

On 7/4/2013 4:03 PM, dpb wrote:> On 7/4/2013 2:44 PM, TideMan wrote:>> On Thursday, July 4, 2013 12:40:24 PM UTC+12, dpb wrote:> ...>>>> For that matter, what's the probability...

View Article

Image may be NSFW.
Clik here to view.

Re: build a matrix

Thank you! I have another question. If the matrix is rectangular, what can I do?

View Article

Image may be NSFW.
Clik here to view.

fprintf to cell array

Hello, I am using this command: fprintf('%3.2f %s ',B(1,1),'±',sdotm(1,1)) to output: -0.02 ± 0.08 I need to assign this output to an element of a cell array. How can this be done? Thanks!

View Article


Image may be NSFW.
Clik here to view.

Re: fprintf to cell array

On 7/4/2013 6:10 PM, Paul wrote:> Hello,> I am using this command:>> fprintf('%3.2f %s ',B(1,1),'±',sdotm(1,1))>> to output:>> -0.02 ± 0.08>> I need to assign this output...

View Article

Image may be NSFW.
Clik here to view.

Re: Partial Least Squares (PLS)

"Jerry " <jerrycholo@gmail.com> wrote in message <kr6ev3$76g$1@newscl01ah.mathworks.com>...> Here, (http://www.mathworks.de/de/help/stats/plsregress.html) both "X" and "Y" should include...

View Article


Image may be NSFW.
Clik here to view.

Re: multiple substring vectorized

On 7/5/2013 11:15 AM, Fogato Abbestia wrote:> for example>> seq = 'atcggttaat'> k=3;>> i want as output>> word={'atc' 'tcg' 'cgg' 'ggt' 'gtt' 'tta' 'taa' 'aat'}> ... OK, so...

View Article

Image may be NSFW.
Clik here to view.

FFT in Matlab and Fortran

Dear sir I am very new to FFT. I am trying to generate FFT for our civil engineering structures. I am not able to understad how to use Fortan code for my problem. I have time domian daa.  I am trying...

View Article


Image may be NSFW.
Clik here to view.

Re: Help crashing Matlab - Mac software conflicts

"Michael " <m.blackett@noc.soton.ac.uk> wrote in message <kr6fnd$8js$1@newscl01ah.mathworks.com>...> Hello,> > I though this might be of interest to others...> > Using Matlab...

View Article

Image may be NSFW.
Clik here to view.

Imagesc ButtonDownFcn problems in MATLAB, using custom toolbar action

Hi! I'm trying to use the BUTTONDOWNFCN on an IMAGESC figure in MATLAB. I want to enable this function by clicking on a CUSTOM BUTTON i have created on the toolbar. The buttondownfcn will call methods...

View Article

Image may be NSFW.
Clik here to view.

defining local maximum value and creating a mask

Hi guys, I have a matrix with 2 maximum local, this regions aren't single points, and I want to know the position where occur these two maximum . After that, I need to create a mask, like poly2mask...

View Article
Browsing all 19628 articles
Browse latest View live