চিত্র:Dirac function approximation.gif

testwiki থেকে
পরিভ্রমণে চলুন অনুসন্ধানে চলুন
Dirac_function_approximation.gif (২০০ × ৩৩৫ পিক্সেল, ফাইলের আকার: ৮৯ কিলোবাইট, এমআইএমই ধরন: image/gif, লুপকৃত, ১০ ফ্রেম, ২.০ সে)

এই ফাইলটি উইকিমিডিয়া কমন্স থেকে আগত এবং অন্যান্য প্রকল্পে ব্যবহৃত হতে পারে। সেখানে থাকা ফাইলটির বিবরণ পাতার বিবরণ নিচে দেখানো হলো।

বিবরণ Illustration of approximating the Dirac delta function by gaussians.
তারিখ (UTC)
উৎস self-made with MATLAB
লেখক Oleg Alexandrov


Public domain আমি, এই কাজের স্বত্বাধিকারী, এতদ্দ্বারা আমি এই কাজকে পাবলিক ডোমেইন লাইসেন্সের আওতায় প্রকাশ করলাম। এটি বিশ্বব্যাপী প্রযোজ্য হবে।
কিছু দেশে এটি আইনত সিদ্ধ নাও হতে পারে, যদি তাই হয়:
আমি যে-কাউকে এই কাজটি যেকোনো উদ্দেশ্যে, বিনাশর্তে ব্যবহারের অনুমতি প্রদান করছি, যদি না সেই শর্তগুলো আইনত প্রয়োজনীয় হয়।

Source code (MATLAB)

% Illustration of approximating the Dirac delta function with gaussians.

function main()

   r = 3; % the power in the Bernoulli inequality
   
   % KSmrq's colors
   red    = [0.867 0.06 0.14];
   blue   = [0, 129, 205]/256;
   green  = [0, 200,  70]/256;
   yellow = [254, 194,   0]/256;
   white = 0.99*[1, 1, 1];

  % Set up the grid and other parameters
   N = 300;
   A = -2; B = 2; 
   C=-1; D = 6;

   X = linspace(A, B, N);
   
   % Set up the figure
   lw = 3; % linewidth
   fs = 18; % font size

   for p=1:10

      a=1/p;

      % gaussian
      Y=(1/(a*sqrt(pi)))*exp(-X.^2/a^2);

      figure(1); clf; 

      set(gca, 'fontsize', fs);
      set(gca, 'linewidth', 0.4*lw)
      hold on;
      
      plot_axes (A, B, C, D, lw/1.5);
      
      plot(X, Y, 'color', blue, 'linewidth', lw);
      
      axis equal; axis([A, B, C, D]); 
      
      set(gca, 'XTick', [-2, -1, 0, 1, 2]) % text labels on the x axis
      grid on;
      
      H=text(B-1.5, D-0.5, sprintf('a=1/%d', p), 'fontsize', fs);

      % save to disk
      file = sprintf('Frame%d.eps', 1000+p);
      disp(file);
      saveas(gcf, file, 'psc2')
      
      pause(0.1);

   end

 % Converted to gif with the command
 % convert -antialias -density 100 -delay 20 -loop 10000 Frame10* Dirac_function_approximation.gif
 % then scaled in Gimp   
   
function plot_axes (A, B, C, D, lw)
   
   gray = 0.5*[1, 1, 1];
   
   plot([A B], [0, 0], 'linewidth', lw, 'color', gray);
   plot([0, 0], [C, D], 'linewidth', lw, 'color', gray);

ক্যাপশন

এই ফাইলটি কী উপস্থাপন করছে তার এক লাইন ব্যাখ্যা যোগ করুন

এই ফাইলে চিত্রিত আইটেমগুলি

যা চিত্রিত করে

৯১,৩৯৮ বাইট

৩৩৫ পিক্সেল

২০০ পিক্সেল

ফাইলের ইতিহাস

যেকোনো তারিখ/সময়ে ক্লিক করে দেখুন ফাইলটি তখন কী অবস্থায় ছিল।

তারিখ/সময়সংক্ষেপচিত্রমাত্রাব্যবহারকারীমন্তব্য
বর্তমান২৩:৫১, ১২ জানুয়ারি ২০০৮২৩:৫১, ১২ জানুয়ারি ২০০৮-এর সংস্করণের সংক্ষেপচিত্র২০০ × ৩৩৫ (৮৯ কিলোবাইট)wikimediacommons>Oleg Alexandrovtweak

নিম্নলিখিত পাতাটি এই ফাইল ব্যবহার করে: