Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

question on MATLAB "pretty" function

Status
Not open for further replies.

leotim

Full Member level 3
Full Member level 3
Joined
Jul 13, 2005
Messages
166
Helped
5
Reputation
10
Reaction score
0
Trophy points
1,296
Activity points
2,596
matlab pretty

hi all
i have a MATLAB code:

y = (1/(s*C))/(1+1/(s*C));
pretty(y)

it returns:
1
--------------------------------------
/ 1 \
s codegen:-C |1 + ----------------|
\ s codegen:-C /
instead of:
1
-------------------
/ 1 \
s C |1 + ------|
\ s C /

Who knows why and how solve this problem?[/img]
 

pretty matlab

Hi
see this title "mcc :: MATLAB Compiler Quick Reference (MATLAB Compiler)"

just change "C" with another like "d"

y = (1/(s*d))/(1+1/(s*d));
>> pretty(y)

1
-------------
/ 1 \
s d |1 + ---|
\ s d/
 

pretty function in matlab

I know that if i replace C by another letter, this problem does not occur, but how i can use "C" letter in pretty function?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top