Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Matlab Simulink Problem

Status
Not open for further replies.

hk

Junior Member level 1
Joined
Feb 15, 2004
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
153


The output from "add" block is a real plus imaginary signal,but the Power Amplifier requires complex input and output a complex signal as well.The Bandpass filter requires a real input.Anyone knows the way to change from "double to double(c)" meaning from real to complex signal, and vice versa?Thanks for your help!!:D
 

m_llaa

Full Member level 4
Joined
Mar 12, 2006
Messages
231
Helped
44
Reputation
88
Reaction score
21
Trophy points
1,298
Location
My Love Iran
Activity points
2,558
I cant see your picture, but converting between double to double complex and vs. is easy.
use real-imag to complex from simulink toolbox from Math Operations part
 

hk

Junior Member level 1
Joined
Feb 15, 2004
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
153
Hi,thanks for your response.Erm..I know about the Real-Imaginary to complex and complex to Real-Imaginary block.But how if there is only one input(double) and I need to change it to double(complex) so that It matches with another block which requires a complex input?



I wonder how come after the Real + Imaginary at "add block",the output from "add block" is not complex value?
Hope you all can help me on this.Thanks a lot!!!
 

m_llaa

Full Member level 4
Joined
Mar 12, 2006
Messages
231
Helped
44
Reputation
88
Reaction score
21
Trophy points
1,298
Location
My Love Iran
Activity points
2,558
Hi
Try to share your file.
you can make complex signal from real signal by real-imag to complex, but you might set imag part to 0.
 

    hk

    points: 2
    Helpful Answer Positive Rating

hk

Junior Member level 1
Joined
Feb 15, 2004
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
153
Hi,I think I know how to do it already.Thanks for your help!!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top