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

 Réponse acceptée

Roberto
Roberto le 26 Avr 2014

0 votes

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 ;)

Plus de réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 25 Avr 2014
Modifié(e) : Azzi Abdelmalek le 25 Avr 2014

0 votes

at the end of your line code, add a semicolon ;

Catégories

En savoir plus sur View and Analyze Simulation Results dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by