MaTLaB DeRS-9 - MF-102 Bilgisayar Programlama Bahar 2008(9....

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: MF-102 Bilgisayar Programlama Bahar 2008(9. Hafta)(Yrd. Do. Dr. Deniz Dal)Diziler (Vektrler) in Tanml Baz Fonsiyonlar. max(x): x dizisinin en byk elemann bulur. min(x):x dizisinin en kk elemann bulur. mean(x):x dizisine ait elemanlarn aritmetik ortalamasn bulur.std(x):x dizisine ait elemanlarn standart sapmasn bulur. sort(x):x dizisinin elemanlarn kkten bye doru sralar. median(x): Sralanm x dizisinin (kendi sralar) orta elemann bulur. sum(x):x dizisinin elemanlarnn seri toplamn bulur.prod(x):x dizisinin elemanlarnn seri arpmn bulur. cumsum(x):x dizisinin elemanlarnn kmlatif toplamndan oluan yeni bir dizi oluturur. diff(x):x dizisinin elemanlarnn farklarndan oluan yeni bir dizi oluturur.max(x)clc; clear;x = [8,4,6,3,5,14,7,9,10]enBuyuk = max(x);enBuyukmin(x)clc;clear;x = [8,4,6,3,5,14,7,9,10]enKucuk = min(x);enKucukmean(x)clc;clear;x = [8,4,6,3,5,14,7,9,10]ortalama = mean(x);ortalamaDiziler (Vektrler) in Tanml Baz Fonsiyonlarstd(x)clc;clear;x = [8,4,6,3,5,14,7,9,10]sapma = std(x);sapmamean(x)= (sum(x)/length(x)) ???sort(x)...
View Full Document

This note was uploaded on 04/23/2010 for the course ENGINEERİ CS 111 taught by Professor - during the Spring '10 term at Bilkent University.

Page1 / 19

MaTLaB DeRS-9 - MF-102 Bilgisayar Programlama Bahar 2008(9....

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online