Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How to normalize a signal using Simulink??

Subject: How to normalize a signal using Simulink??

From: Benjamin

Date: 3 May, 2010 15:32:10

Message: 1 of 1

Hi all,

I would like to normalize signal from a simulink model but I don't know how to do it. I have tried to embedd the next function:

function y = fcn(u)
y=u/(max(abs(x));

but it doesn't work because the output signal only takes values +1 or +1 depending on the input sign value. This make me think that simulink is working for each input sample individually and not for all the signal values as I expected. I also have tried the available blocks from the library but they don't what I want.

Dow you know if it is possible to do that?

Thanks in advance

benjamin

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us