לדלג לתוכן

קובץ:Indicator function illustration.png

תוכן הדף אינו נתמך בשפות אחרות.
מתוך ויקיפדיה, האנציקלופדיה החופשית

לקובץ המקורי(813 × 516 פיקסלים, גודל הקובץ: 19 ק"ב, סוג MIME‏: image/png)

ויקישיתוף זהו קובץ שמקורו במיזם ויקישיתוף. תיאורו בדף תיאור הקובץ המקורי (בעברית) מוצג למטה.
תיאור Illustration of an en:Indicator function.
תאריך יצירה (UTC)
מקור self-made with MATLAB, source code below
יוצר Oleg Alexandrov
 
. MATLAB עם‎‎ נוצרה ה PNG תמונת מפת סיביות
Public domain ברצוני, בעלי זכויות היוצרים על יצירה זו, לשחרר יצירה זו לנחלת הכלל. זה תקף בכל העולם.
יש מדינות שבהן הדבר אינו אפשרי על פי חוק, אם כך:
אני מעניק לכל אחד את הזכות להשתמש בעבודה זו לכל מטרה שהיא, ללא תנאים כלשהם, אלא אם כן תנאים כאלה נדרשים על פי חוק.

Source code (MATLAB)

% illustration of an indicator function in two dimensions
function main()

   % the number of data points. More points means prettier picture.
   N = 400;

   % a function close to what we want, but not smooth
   Z = get_step_function (N);

% plot the surface
   figure(2); clf; hold on; axis equal; axis off;
   scale = 100;
   surf(scale*Z);
   
% make the surface beautiful
   shading interp;
   colormap autumn;

% add in a source of light
   camlight (-50, 54);
   
% viewing angle
   view(-40, 38);

   % save as png
   print('-dpng', '-r200', 'Indicator_function_illustration.png');

  
% get a function which is 1 on a set, and 0 outside of it
function Z = get_step_function(N)
   XX = linspace(-1.5, 4, N);
   YY = linspace(-4, 4, N);
   [X, Y] = meshgrid(XX, YY);
   
   c = 2;
   k=1.2;
   shift=10;
   Z = (c^2-X.^2-Y.^2).^2 + k*(c-X).^3-shift;
   
   Z =1-max(sign(Z), 0);
יש ליצור מחדש את התמונה math הזו באמצעות גרפיקה וקטורית כדוגמת קובץ SVG. לפעולה זו מספר יתרונות, כפי שניתן לקרוא (באנגלית) בדף Commons:Media for cleanup. אם ברשותכם קובץ SVG, אנא העלו אותו. לאחר מכן, החליפו תבנית זו בתבנית
{{vector version available|שם הקובץ.svg}}

כיתובים

נא להוסיף משפט שמסביר מה הקובץ מייצג

פריטים שמוצגים בקובץ הזה

מוצג

היסטוריית הקובץ

ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית04:49, 27 בספטמבר 2007תמונה ממוזערת לגרסה מ־04:49, 27 בספטמבר 2007‪516 × 813‬ (19 ק"ב)Oleg Alexandrov{{Information |Description=Illustration of an en:Indicator function. |Source=self-made with MATLAB, source code below |Date=~~~~~ |Author= Oleg Alexandrov }} <pre><nowiki> % illustration of an indicator function in two dime

אין בוויקיפדיה דפים המשתמשים בקובץ זה.

שימוש גלובלי בקובץ

אתרי הוויקי השונים הבאים משתמשים בקובץ זה: