Matlab 12 - Hafta 12 Matlab Ders Notlar M ATLAB de P...

Info iconThis preview shows pages 1–5. 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: Hafta 12 Matlab Ders Notlar M ATLAB de P rogramlama XII Hafta 12 Matlab Ders Notlar Dizi ve Matrisler iin tan ml baz fonsiyonlar . max(x): x dizisinin en byk elemann bulur min(x): x dizisinin en kk elemann bulur mean(x): x dizisine ait elemanlarn ortalamasn bulur sort(x): x dizisinin elemanlarn kkten bye doru sralar sum(x): x dizisinin elemanlarnn seri toplamn bulur prod(x): x dizisinin elemanlarnn seri arpmn bulur Hafta 12 Matlab Ders Notlar Dizi ve Matrisler iin Tan ml baz fonsiyonlar RNEK; clear; clc; a=[10 -22 30 41 54 6]; b= sum (a) c= max (a) d= min (a) e= mean (a) h= sort (a) i= prod (a) Hafta 12 Matlab Ders Notlar Dizi ve Matrisler iin Tan ml baz fonsiyonlar max(x) clear; clc; x=[3,4,6,8,5,3,7,7,8]; ebsayi=max(x); ebsayi min(x) clear; clc; x=[2,4,3;5,1,21;-1,0,6]; ebsayi=min(x); ebsayi mean(x) clear; clc; x=[12,4,3 ; 5,11,21 ; -1,10,16]; ortsayi=mean(x); ortsayi sum(x) clear; clc; x=[2,4,3 ; 5,11,21 ; -21,10,16]; seritop=sum(x); seritop Hafta 12...
View Full Document

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

Page1 / 12

Matlab 12 - Hafta 12 Matlab Ders Notlar M ATLAB de P...

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

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