답변 있음
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년 초과 전 | 2

| 수락됨

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

10년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 2

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 3

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

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

10년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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

거의 11년 전 | 0

답변 있음
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...

거의 11년 전 | 0

답변 있음
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 ...

거의 11년 전 | 1

| 수락됨

답변 있음
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...

거의 11년 전 | 1

| 수락됨

답변 있음
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...

거의 11년 전 | 1

| 수락됨

답변 있음
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 ...

거의 11년 전 | 1

| 수락됨

답변 있음
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...

거의 11년 전 | 0

| 수락됨

답변 있음
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...

거의 11년 전 | 0

| 수락됨

답변 있음
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

거의 11년 전 | 0

답변 있음
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...

거의 11년 전 | 0

| 수락됨

답변 있음
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 ...

거의 11년 전 | 1

답변 있음
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...

거의 11년 전 | 1

답변 있음
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 ...

거의 11년 전 | 0

| 수락됨

답변 있음
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...

거의 11년 전 | 0

답변 있음
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...

거의 11년 전 | 0

| 수락됨

답변 있음
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...

거의 11년 전 | 0

답변 있음
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...

거의 11년 전 | 0

| 수락됨

답변 있음
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 ...

거의 11년 전 | 0

더 보기