How do I post a picture with my question

How can I add this image?

1 Kommentar

Walter Roberson
Walter Roberson am 10 Jun. 2011
See also this partial list of sites you can upload your picture to:
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Jan
Jan am 10 Jun. 2011
Bearbeitet: Jan am 7 Jun. 2019

1 Stimme

The question of how to embed a picture was answered already. Let me encourage all users to really use this feature, which is much more efficient and appealing than posting just the link to the image.
with this:
showc4d_gait_43.gif

Weitere Antworten (4)

Doug Hull
Doug Hull am 21 Jan. 2011

2 Stimmen

Here is an example with the code used: (extra spaces before and between "greater thans" so it would not execute, Do not use them like that in actual use.)

<<http://files.me.com/toddf/feo4po > >

You will have to host the image somewhere. I placed my example code as a code block by putting two spaces before it so it would not actually load the image in this example.

Daniel Shub
Daniel Shub am 17 Mai 2012

0 Stimmen

If someone posts a question with a link like http://tinypic.com/r/14bib77/6 and I want to edit the question to embed the image I get
and that looks really ugly. Is there anything I can do besides re-uploading the image?

7 Kommentare

Walter Roberson
Walter Roberson am 17 Mai 2012
Unfortunately no.
Part of the problem is the image size: the Answers site makes no attempt to resize the images to fit the reader's screen.
Jan
Jan am 20 Mai 2012
Ask the author to create a cropped version of the image.
Walter Roberson
Walter Roberson am 21 Mai 2012
In the case of tinypic, you can right-click on the preview image and copy the URL of the preview.
Daniel Shub
Daniel Shub am 21 Mai 2012
@Jan, I might be being pessimistic, but I think that is a losing battle.
@Walter, but the preview, at least in this case, has the padding also.
Jan
Jan am 21 Mai 2012
@Daniel: You can download the image, crop it with the IPT or even in pure Matlab, save it a tinypic again and change the link in the original question. Well, of course the OP could do this also.
Finally I write this only to confirm, that this is a losing battle. Sigh.
Walter Roberson
Walter Roberson am 21 Mai 2012
I embedded that _exact_ preview, in a Question a day or so, and had no difficulty with it being off the right hand side.
Daniel Shub
Daniel Shub am 22 Mai 2012
@Walter, you tried to embed the "exact preview" but you didn't. The question is here:
http://www.mathworks.com/matlabcentral/answers/38620-processing-image-with-deconvolution
Basically there are two images: http://tinypic.com/r/2u95qwg/6 and http://tinypic.com/r/14bib77/6 You embedded the 2u95qwg image twice. If I embed that image it works for me also. The 14bib77 image does not work.

Melden Sie sich an, um zu kommentieren.

Jan
Jan am 21 Sep. 2013

0 Stimmen

Now pictures can be uploaded directly in the forum, see: http://www.mathworks.com/matlabcentral/answers/87583#answer_97176Y . A great step to improve the usability of the forum!
Hamad Abdin
Hamad Abdin am 31 Okt. 2020

0 Stimmen

function [root, fx, es, iter] = modsecantmeth(func, xr, es, del, maxit)
% modsecantmeth: root location
% [root, es, iter] = modsecantmeth(func, xr, es, del maxit:
% uses Modified Secant Method to find roots of func
% input:
% func = name of function
% xr = initial guess
% es = desired relative error ( default = 0.0001%)
% del = perturbation fraction (default = 1e-6)
% output
% root = real root
% ea = approximate relative error (%)
% iter = number of iterations
% operational notes
% none.
if nargin < 2, error('at least 2 input arguments required'),end
if nargin < 3 || isempty(es), es = 0.0001;end
if nargin < 4 || isempty(del), del = 1e-6;end
if nargin < 5 || isempty(maxit), maxit = 50;end
iter = 0;
ea = 100;
while (1)
xrold = xr;
xr =xr - del *xr*func(xr)/(func(xr+(del*xr))-func(xr));
iter = iter +1;
if xr~= 0, ea = abs((xr-xrold)/xr)*100;end
data(:,iter) = [iter, xrold, xr, ea];
if ea <= es || iter >= maxit, break, end
end
root = xr; fx = func(xr);
disp('Secant Method Results')
disp('iter, old xr, new xr, |ea|')
disp('data')

2 Kommentare

Hamad Abdin
Hamad Abdin am 31 Okt. 2020
can you help me to make run.
Rik
Rik am 31 Okt. 2020
This is completely unrelated to this question. Read this https://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
After that, post this as your own question (don't forget to have a proper layout of your post, see this link: https://www.mathworks.com/matlabcentral/answers/help/rtc#rtc_summary )
This answer will be deleted shortly.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Historical Contests finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 21 Jan. 2011

Kommentiert:

Rik
am 31 Okt. 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by