<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de balão Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.MsoPlaceholderText
        {mso-style-priority:99;
        color:gray;}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextodebaloChar
        {mso-style-name:"Texto de balão Char";
        mso-style-priority:99;
        mso-style-link:"Texto de balão";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="PT-BR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">To user support,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Recently I was studing a function that i wanted to plot it. This function is a 3d equation that I wrote above:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><!--[if gte msEquation 12]><m:oMathPara><m:oMath><i><span style='font-family:"Cambria Math","serif"'><m:r>z</m:r><m:r>=</m:r></span></i><m:rad><m:radPr><span style='font-family:"Cambria Math","serif";font-style:italic'><m:ctrlPr></m:ctrlPr></span></m:radPr><m:deg><i><span style='font-family:"Cambria Math","serif"'><m:r>3</m:r></span></i></m:deg><m:e><i><span style='font-family:"Cambria Math","serif"'><m:r>(</m:r></span></i><m:d><m:dPr><span style='font-family:"Cambria Math","serif";font-style:italic'><m:ctrlPr></m:ctrlPr></span></m:dPr><m:e><i><span style='font-family:"Cambria Math","serif"'><m:r>1-</m:r></span></i><m:sSup><m:sSupPr><span style='font-family:"Cambria Math","serif";font-style:italic'><m:ctrlPr></m:ctrlPr></span></m:sSupPr><m:e><i><span style='font-family:"Cambria Math","serif"'><m:r>e</m:r></span></i></m:e><m:sup><i><span style='font-family:"Cambria Math","serif"'><m:r>-</m:r><m:r>5</m:r><m:r>x</m:r></span></i></m:sup></m:sSup></m:e></m:d><i><span style='font-family:"Cambria Math","serif"'><m:r>-</m:r><m:r>y</m:r><m:r>)</m:r></span></i></m:e></m:rad></m:oMath></m:oMathPara><![endif]--><![if !msEquation]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";mso-fareast-language:PT-BR"><img width="144" height="21" id="_x0000_i1025" src="cid:image004.png@01CE63A6.F58C59E0"></span><![endif]><o:p></o:p></p>
<p class="MsoNormal">I try to use fplot3d to plot following interval x=0:0.01:1 and y=0:0.01:3.
<o:p></o:p></p>
<p class="MsoNormal">When I analise the results this function has positive and negative numbers to plot but when i plot it it only show positive numbers.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I look for the answers about square root of negative numbers and i found help tips that show into this case the answer is a complex number.  Then I see that matrix z is a vector that has real numbers and complex numbers(they are mixed)
 and fplot3d shows a result very diferente of I was expecting.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If point is a real number fplot3d plot right surface and if the point is a complex number it shows a wrong surface. What must i do to solve this problem?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Follow, I send code that I´ve been use into scilab 4.1.2 (scipad)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">x=0:0.01:1 ;y=0:0.01:3<o:p></o:p></p>
<p class="MsoNormal">deff(‘z=f(x,y)’,’z=( (1-exp(-5*x))-y)^(1/3)’)<o:p></o:p></p>
<p class="MsoNormal">clf()<o:p></o:p></p>
<p class="MsoNormal">fplot3d(x,y,f,alpha=60,theta=60)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="423" height="529" id="Imagem_x0020_3" src="cid:image007.jpg@01CE63A6.F58C59E0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Down part of this graphic is mirrored to up side and values are wrong. The right result that i was expecting is the surface to be drawnt to negative side.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you for yours helps.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-right:11.7pt;text-align:justify;text-justify:inter-ideograph;line-height:115%">
<span style="font-size:10.0pt;line-height:115%;font-family:"Verdana","sans-serif"">Ubirajara Marques da Cruz<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right:11.7pt;text-align:justify;text-justify:inter-ideograph;line-height:115%">
<span style="font-size:10.0pt;line-height:115%;font-family:"Verdana","sans-serif"">Engenheiro de Projetos Elétricos<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Gerência de Engenharia Eletromecânica de Expansão da Geração e de Fontes Alternativas</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right:11.7pt;line-height:115%"><span style="font-size:10.0pt;line-height:115%;font-family:"Verdana","sans-serif"">Diretoria de Geração e Transmissão<span style="color:#1F497D"><br>
</span>Companhia Energética de Minas Gerais – Cemig<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right:11.7pt;text-align:justify;text-justify:inter-ideograph;line-height:115%">
<span style="font-size:10.0pt;line-height:115%;font-family:"Verdana","sans-serif"">Telefone: 55 (31) 3506-4602<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right:11.7pt;text-align:justify;text-justify:inter-ideograph;line-height:115%">
<span style="font-size:10.0pt;line-height:115%;font-family:"Verdana","sans-serif"">Email: biracruz@cemig.com.br<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right:11.7pt;text-align:justify;text-justify:inter-ideograph;line-height:115%">
<a href="http://www.cemig.com.br"><span style="font-size:10.0pt;line-height:115%;font-family:"Verdana","sans-serif";color:blue">www.cemig.com.br</span></a><span style="font-size:10.0pt;line-height:115%;font-family:"Verdana","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal"><b><img border="0" width="99" height="56" id="Imagem_x0020_1" src="cid:image001.jpg@01CE63A1.85FA9740" alt="Descrição: cid:image002.jpg@01CD973D.26DD29C0"></b><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>