フィルターのクリア

plotting a graph error

2 ビュー (過去 30 日間)
thar
thar 2014 年 4 月 25 日
回答済み: Roberto 2014 年 4 月 26 日
i get following output when enter this
>> p = (51265396597562621*sin((70753*x)/10000).*exp(-(23077*x)/10000))/2500000000000000 - (293831102262817*cos((70753*x)/10000).*exp(-(23077*x)/10000))/20000000000000 - (11222816157007407*sin((35493*x)/100000))/5000000000000000000
how to stop printing it?
Columns 16589 through 16601
-0.5461 -0.5459 -0.5457 -0.5456 -0.5454 -0.5452 -0.5450 -0.5449 -0.5447 -0.5445 -0.5444 -0.5442 -0.5440
Columns 16602 through 16614
-0.5438 -0.5437 -0.5435 -0.5433 -0.5431 -0.5430 -0.5428 -0.5426 -0.5424 -0.5422 -0.5421 -0.5419 -0.5417
Columns 16615 through 16627
-0.5415 -0.5414 -0.5412 -0.5410 -0.5408 -0.5406 -0.5405 -0.5403 -0.5401 -0.5399 -0.5398 -0.5396 -0.5394
Columns 16628 through 16640
-0.5392 -0.5390 -0.5389 -0.5387 -0.5385 -0.5383 -0.5381 -0.5379 -0.5378 -0.5376 -0.5374 -0.5372 -0.5370
Columns 16641 through 16653
i want to add values to p to plot a graph

採用された回答

Roberto
Roberto 2014 年 4 月 26 日
try adding a semicolon at the end, that's too basic;
>> p = 1:10000000000 ; % won't display the result ;)
>> p = 1:10000000000 % will display the result ;)

その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 25 日
編集済み: Azzi Abdelmalek 2014 年 4 月 25 日
at the end of your line code, add a semicolon ;

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by