Top 5% contributor
5 days ago
There is several others ways of doing it which in some cases are more efficient. Have a look at what the size of your vector is ...
Answered 4 years ago
For FMINSEARCH in combination with a function MYFUN one could use:
[X,fval,exitflag,output]= fminsearch(@(X) myfun(X),X,opt...
Asked 4 years ago
function write_XML_no_extra_lines(save_name,XDOC) XML_string = xmlwrite(XDOC); %XML as string XML_string = regexprep(XML_string...
4 years ago
There seem to be not just extra lines but also tabs. This removed them for me: XML_string = xmlwrite(XDOC); %XML as string XML...
5 years ago
I have a multi-parameter and multi-objective optimisation problem for which I am trying to use LSQNONLIN.
1) On its initial ...
Asked 1 year ago
I'm trying to create XML files that contain large fields e.g. of the form:
Asked 2 years ago
For LSQNONLIN is it okay if the number of elements in the vector-valued function varies per iteration?
I have a vector-valued...
There are many different ways of doing this. It depends on how you want to visualize the data. E.g. as bars, as dots, as a 1xn s...
Answered 4 months ago
A blurred image is equivalent to an image that is convolved with for instance a Gaussian kernel. This means that low frequencies...
Answered 2 years ago
If img is a logic say where ones define edge pixels and zeros define non-edge pixels then you are correct
A simple way of doing it would be to first create a triangulated representation of your surface (e.g. based on Delaunay tessella...
This should answer your question. This code does what you want and shows you what happens depending on your choice of centre poi...
If your edge/line is the only segmented object (only the line consists of ones) in your image then if M is your binary image (co...
Then its more complicated. When you say vertices and faces do you mean a tesselation? e.g. a Delaunay tesselation? Of the head v...
1 year ago
8 years ago
6 years ago
Check this function out:
Perhaps this answers your question. Find where the figure is created in the code and replace by something like:
hf = figure...
I am creating a toolbox and have recently successfully used the info <http://www.mathworks.nl/help/matlab/matlab_prog/display-cu...
Perhaps rephrase your question and clearly say what it is you want to visualise. I think the visualisation problem is probably i...
Not sure if I understand your question correctly but in some image formats the image data has a fixed amount of possible intensi...
This example is probably equivalent to what you want:
[X,Y,Z]=peaks(25); figure; surf(X,Y,zeros(size(Z)),Z) ; view(3); axis...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries