انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة
الكلية كلية التربية للعلوم الصرفة
القسم قسم الرياضيات
المرحلة 1
أستاذ المادة طفول حسين عمران الخفاجي
25/03/2019 05:57:13
************************************************************************************************************************************ Prod function this function returns the product of an array elements. 1. B = prod(A) returns the product of the array elements of A. • If A is a vector, then prod(A) returns the product of the elements. • If A is a nonempty matrix, then prod(A) treats the columns of A as vectors and returns a row vector of the products of each column. • If A is an empty 0-by-0 matrix, prod(A) returns 1.
Example >> A=[1:3:7;2:3:8;3:3:9] A = 3×3
1 4 7 2 5 8 3 6 9
>> B = prod(A) B = 1×3
6 120 504
2. B = prod(A,dim) returns the products along dimension dim. For example, if A is a matrix, prod(A,2) is a column vector containing the products of each row. Example >> dim = 2; >> B = prod(A,dim) B = 3×1
28 80 162
Comprod function this function returns the cumulative product of an array elements. 1. B = cumprod(A) returns the cumulative product of A starting at the beginning of the first array dimension in A whose size does not equal 1. ************************************************************************************************************************************
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم
|