Beantwortet
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...

etwa 11 Jahre vor | 2

| akzeptiert

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

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
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(...

etwa 11 Jahre vor | 2

Beantwortet
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

etwa 11 Jahre vor | 0

Beantwortet
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; ...

etwa 11 Jahre vor | 3

Beantwortet
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

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 11 Jahre vor | 0

Beantwortet
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...

etwa 11 Jahre vor | 0

Beantwortet
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 ...

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
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); ...

etwa 11 Jahre vor | 0

Beantwortet
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

etwa 11 Jahre vor | 0

Beantwortet
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...

etwa 11 Jahre vor | 0

Beantwortet
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 ...

etwa 11 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 11 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 11 Jahre vor | 1

| akzeptiert

Beantwortet
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 ...

etwa 11 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
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

etwa 11 Jahre vor | 0

Beantwortet
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...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

etwa 11 Jahre vor | 1

Beantwortet
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...

etwa 11 Jahre vor | 1

Beantwortet
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 ...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 11 Jahre vor | 0

Beantwortet
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...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 11 Jahre vor | 0

Beantwortet
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...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

etwa 11 Jahre vor | 0

Mehr laden