Answered
Subplot with varying number of plots
Hi, no, you can't insert the figure, but you can do something that should look like what you want. You can "combine" subplots...

10 years ago | 2

| accepted

Answered
How to obtain sum of RGB color values of a pixel?
Hi, something like sum(I, 3) ? Titus

10 years ago | 0

| accepted

Answered
Managing {} indexing in SUBSREF/SUBSASGN overloads.
Hi Cedric, very tricky question, indeed. I gave it a try and came up with this subsref: function [varargout] = subsref(...

10 years ago | 2

Answered
Plotting 1/x correctly
Adding to Thorsten's answer: you need to put x on the x axis while plotting: plot(x, 1./x); Titus

10 years ago | 0

Answered
Matrix with Bell Triangle
O.k., when there is a full solution, I'm happy to share mine as well ;-) function B = bell(n) B = zeros(n); B(1,1) = 1; ...

10 years ago | 3

Answered
How do I convert a cell array of char to a single plot title?
Hi, use sprintf to add a carriage return at the end of each line: title(sprintf('%s\n', labels{:})) Titus

10 years ago | 0

| accepted

Answered
polyfit doesn't fit the data
Hi, I guess it's another problem here: note, that if you call polyfit with [p,s,mu] = polyfit ... you get the scaled ...

10 years ago | 0

| accepted

Answered
mclmcrrt 7_16.dll download
Hi, this question has been answered <http://www.mathworks.com/matlabcentral/answers/79509-how-can-i-get-mcr-7-16 here>. Ti...

10 years ago | 0

Answered
Fitting data with custom function defined with recursion loop
Hi Bill, I guess Curve Fitting tool will call your function with x being a vector and not a scalar. In this case your functio...

10 years ago | 0

Answered
forward approximation of derivative
Hi, first of all, your yforward should be yforward = (y(2:end) - y(1:end-1))./delx; which is in fact the same as ...

10 years ago | 0

| accepted

Answered
Error using / Matrix dimensions must agree...
Hi, MATLAB is not Java ;-). Concatenating strings uses [] in MATLAB: run(['..\extract' num2str(i) '.m']) Titus

10 years ago | 0

| accepted

Answered
I'd like to delete collums that start with a value that already has been in the matrix
Hi Benoit, what about this solution? Assuming your matrix is named A, [~,idx] = unique(A(1,:)); Anew = A(:, idx); ...

10 years ago | 0

Answered
What can be the reasons that mcc command does not generate wrapper file while creats exe file?
Hi Hoda, if it creates the .exe what other script are you expecting? Can you start the executable? Titus

10 years ago | 0

Answered
How can I plot the values of a field on (x,y) points for a fixed z
Hi Massimo, the function contour3 should do the trick. doc contour3 Take a look at the case "contour3(Z,v)" which des...

10 years ago | 0

Answered
How can we find out no of max values in a matrix
Hi Navan, count them: n = sum(A == max(A)); Note though, that this works fine for integers, but if you have floating ...

10 years ago | 1

| accepted

Answered
Matlab Coder and ode45 with extra parameters - What implementation strategy?
Hi Nicolas, one way to do this is the "classical" way, i.e., the way it was done before anonymous functions existed. If you a...

10 years ago | 1

| accepted

Answered
Error in load.m? "Unexpected Matlab Operator"
Hi, you might not but it seems that Nicola Pero did some years ago ;-). The location of load.m indicates that it belongs to s...

10 years ago | 1

| accepted

Answered
How to plot with incrementally changing variables
Hi Peter, when you divide by a vector, you need to switch to pointwise arithmetic instead of matrix "division". So it should ...

10 years ago | 1

| accepted

Answered
How can I find maximum of a function in MATLAB?
Hi Gollapinni, usually by finding the minimum of "-f". How to do this depends on your function. Good starting point is fminse...

10 years ago | 0

| accepted

Answered
VBA-like "with" function ? + get(0,'ScreenSize')
Hi Luis, not really. What you can do is to assign to an intermediate variable, something like lTagPanel = data.UsedByGui...

10 years ago | 0

| accepted

Answered
MatlabR2012a provides external access ability to WSDL web service
Hi, the functionality to read from WSDL web services used to be provided by doc createClassFromWsdl Titus

10 years ago | 0

Answered
2010B runtime on a windows 2012 server
Hi Kris, the problem is, that Win2012 was released way after R2010b, therefore it's not officially supported, see <http://www...

10 years ago | 0

| accepted

Answered
Unique function not deleting duplicate rows.
Hi Luc, I don't see duplicate data, but the data change sign ...? Take last 4 rows of pleb and it's 19.4558 -4.1355 ...

10 years ago | 1

Answered
Is there a specific function forcing user to select a particular option?
Hi, no, for a console program there is no function for this. You will need to use the function input and verify what has been...

10 years ago | 1

Answered
Create a matrix from another matrix
Hi Giannakis, I guess just by using A as index: A=[ 5 6 4; 1 2 8; 9 7 11]; x = 1:2:21 x = 1 3 5 ...

10 years ago | 0

| accepted

Answered
standalone MATLAB program: retrieve path and filename
Hi Kevin, I'm not sure what the getmodulefilename is supposed to do,and even less, why you want to incorporate into your stan...

10 years ago | 0

Answered
Performance of non-preallocated array
Hi, two comments: * You are doing the timing in the command line. This gives typically worse results than in a function, b...

10 years ago | 0

| accepted

Answered
Cannot find the .NET Builder
Hi Kai, does license('test', 'matlab_builder_for_dot_net') gives a true? ver tells you the installed products, not ne...

10 years ago | 0

Answered
solve a system of differential equations
Hi Vahid, did you already try to solve it numerically? It should be straightforward to solve using ode45. You function that y...

10 years ago | 0

| accepted

Answered
How to call a function
Hi, hmm, if you call it correctly, it seems to work? C = XORS({'A' 'C'}, {'A' 'G'}) C = AT You might add ...

10 years ago | 0

Load more