Şimdi Ara

MATLAB HAKKINDA ACİL !

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
2 Misafir - 2 Masaüstü
5 sn
2
Cevap
0
Favori
295
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • arkadaşlar hoca matlabdan ödev verdi..yardımınıza ihtiyacım var.. yaptığımız deneyler şunlar ;
    1. Create the function or function that asks the user to enter an expression (of function data) and plots it
    afterwards, in an infinite loop. For example, the function prompts the user with
    Enter function :
    and the user enters the expression
    Enter function : sin(0:0.1:2*pi)
    and after plotting the function it will prompt again
    Enter function :
    When user just presses enter without typing in any data, the function exits the loop and terminates.
    Use while loop, isempty and plot functions in your code.
    Report what you did and what you got.

    2. Try to display two user entered functions on the same plot. For that you need to handle 2 dimensional
    arrays. For example plot([0:10; 10:-1:0]') puts a large cross on the plot area.

    3. Enter additional code to ask the user is he/she is sure of exiting, when he/she presses enter without any
    data.
    Exiting. Are you sure? :
    If user presses n or N, the loop continues. Otherwise it terminates.

    4. Use inputdlg function instead of input function.


    ve hocanın bizden istediği şeylerde bunlar ; 1. How would display each function on its own plot? (read help file)
    2. How would you display horizontal axis values correctly?







  • Güncel

    < Bu ileti mobil sürüm kullanılarak atıldı >
  • 
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.