plot curve in matlab
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi. how can i plot below equation, (qa vs h).
thank you
h=(1220908434898033726941095945343859/137540090124762890062392297783296 - (((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^2/9 - (35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/65382291675787666836113582632131053390122134309537383486324736 + 8672300805488615626514298725649155738733727064619700329244267215815/4184466667250410677511269288456387416967816595810392543124783104)/(2*((1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125*cos(qa))/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624 + (((1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125*cos(qa))/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624 - ((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^3/27 + (((35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/21794097225262555612037860877377017796707378103179127828774912 - 8672300805488615626514298725649155738733727064619700329244267215815/1394822222416803559170423096152129138989272198603464181041594368)*((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296))/6 - 1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624)^2 - (((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^2/9 - (35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/65382291675787666836113582632131053390122134309537383486324736 + 8672300805488615626514298725649155738733727064619700329244267215815/4184466667250410677511269288456387416967816595810392543124783104)^3)^(1/2) - ((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^3/27 + (((35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/21794097225262555612037860877377017796707378103179127828774912 - 8672300805488615626514298725649155738733727064619700329244267215815/1394822222416803559170423096152129138989272198603464181041594368)*((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296))/6 - 1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624)^(1/3)) - (3^(1/2)*((((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^2/9 - (35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/65382291675787666836113582632131053390122134309537383486324736 + 8672300805488615626514298725649155738733727064619700329244267215815/4184466667250410677511269288456387416967816595810392543124783104)/((1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125*cos(qa))/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624 + (((1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125*cos(qa))/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624 - ((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^3/27 + (((35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/21794097225262555612037860877377017796707378103179127828774912 - 8672300805488615626514298725649155738733727064619700329244267215815/1394822222416803559170423096152129138989272198603464181041594368)*((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296))/6 - 1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624)^2 - (((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^2/9 - (35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/65382291675787666836113582632131053390122134309537383486324736 + 8672300805488615626514298725649155738733727064619700329244267215815/4184466667250410677511269288456387416967816595810392543124783104)^3)^(1/2) - ((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^3/27 + (((35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/21794097225262555612037860877377017796707378103179127828774912 - 8672300805488615626514298725649155738733727064619700329244267215815/1394822222416803559170423096152129138989272198603464181041594368)*((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296))/6 - 1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624)^(1/3) - ((1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125*cos(qa))/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624 + (((1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125*cos(qa))/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624 - ((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^3/27 + (((35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/21794097225262555612037860877377017796707378103179127828774912 - 8672300805488615626514298725649155738733727064619700329244267215815/1394822222416803559170423096152129138989272198603464181041594368)*((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296))/6 - 1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624)^2 - (((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^2/9 - (35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/65382291675787666836113582632131053390122134309537383486324736 + 8672300805488615626514298725649155738733727064619700329244267215815/4184466667250410677511269288456387416967816595810392543124783104)^3)^(1/2) - ((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^3/27 + (((35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/21794097225262555612037860877377017796707378103179127828774912 - 8672300805488615626514298725649155738733727064619700329244267215815/1394822222416803559170423096152129138989272198603464181041594368)*((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296))/6 - 1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624)^(1/3))*1i)/2 - ((1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125*cos(qa))/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624 + (((1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125*cos(qa))/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624 - ((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^3/27 + (((35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/21794097225262555612037860877377017796707378103179127828774912 - 8672300805488615626514298725649155738733727064619700329244267215815/1394822222416803559170423096152129138989272198603464181041594368)*((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296))/6 - 1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624)^2 - (((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^2/9 - (35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/65382291675787666836113582632131053390122134309537383486324736 + 8672300805488615626514298725649155738733727064619700329244267215815/4184466667250410677511269288456387416967816595810392543124783104)^3)^(1/2) - ((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296)^3/27 + (((35164071972321196364293514418484081841779784041842476808911880635*cos(qa))/21794097225262555612037860877377017796707378103179127828774912 - 8672300805488615626514298725649155738733727064619700329244267215815/1394822222416803559170423096152129138989272198603464181041594368)*((337154630557615804716801703060335*cos(qa))/19648584303537555723198899683328 - 3662725304694101180823287836031577/137540090124762890062392297783296))/6 - 1975131977464284593799922942265159165740094841607830863054523132048199753900147209696006689593125/252592461065476274697287265362762891970382080814576095078881415719943281170653751566741274624)^(1/3)/2 - (112384876852538601572267234353445*cos(qa))/19648584303537555723198899683328)^(1/2)
댓글 수: 0
답변 (2개)
Walter Roberson
2020년 9월 14일
You need to separate the real and imaginary components. For the ranges I checked, the real components were quite small, but the imaginary components were quite variable.
plotting qa vs h is not really feasible, but you could plot h vs qa
The function is quite high frequency, so you will need to plot over a very narrow range to make any sense of the plot.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete Data Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!