File:Fa derivative9.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 512 × 458 pixels, file size: 44 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: The MATLAB R2011a code used for generation of the figure
Date
Source Own work
Author Taha bahadori
SVG development
InfoField
 
The SVG code is valid.
 
This diagram was created with MATLAB.
Source code
InfoField

MATLAB code

figure 
hold on
alpha = 0.3;

x = 0.3:0.01:2;
y = log(x);

h = plot(x, y, 'k');
set(h,'linewidth',3); % <- Set linewidth here

L = 1;
% Tangent line
a = 1.1;
x1 = (a-L/2):0.01:(a+L/2);
b1 = log(a);
y1 = (1/a)*(x1-a) + b1;
h = plot(x1, y1, 'g');
set(h,'linewidth',2); % <- Set linewidth here

x = log(0.3):0.01:log(2);
y = exp(x);

h = plot(x, y, 'k');
set(h,'linewidth',3); % <- Set linewidth here

L = 1;
% Tangent line
a = log(1.1);
x1 = (a-L/2):0.01:(a+L/2);
b1 = exp(a);
y1 = (exp(a))*(x1-a) + b1;
h = plot(x1, y1, 'g');
set(h,'linewidth',2); % <- Set linewidth here

x = -1:0.01:2;
h = plot(x, x, '--b');
set(h,'linewidth',2); % <- Set linewidth here


axis equal
axis off
% MATLAB does not have built-in SVG support. Use the following package to
% convert FIG files to SVG
plot2svg

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current17:18, 1 October 2011Thumbnail for version as of 17:18, 1 October 2011512 × 458 (44 KB)Leyth (talk | contribs)+ Coordinate Axis & Text.
02:53, 30 September 2011Thumbnail for version as of 02:53, 30 September 2011512 × 384 (15 KB)Taha bahadori (talk | contribs)

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: