Réponse apportée
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...

presque 11 ans il y a | 2

| A accepté

Réponse apportée
How to obtain sum of RGB color values of a pixel?
Hi, something like sum(I, 3) ? Titus

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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(...

presque 11 ans il y a | 2

Réponse apportée
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

presque 11 ans il y a | 0

Réponse apportée
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; ...

presque 11 ans il y a | 3

Réponse apportée
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

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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 ...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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 ...

presque 11 ans il y a | 0

| A accepté

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

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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); ...

presque 11 ans il y a | 0

Réponse apportée
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

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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 ...

presque 11 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 1

| A accepté

Réponse apportée
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 ...

presque 11 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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 ...

presque 11 ans il y a | 1

Réponse apportée
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...

presque 11 ans il y a | 1

Réponse apportée
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 ...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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 ...

presque 11 ans il y a | 0

Charger plus