回答済み
How does function std process complex numbers
std uses the formula that is given by David, which is just the standard fornula, with no difference for complex inputs. But just...

約1ヶ月 前 | 0

回答済み
I need help in this question please?
What are you trying to do with the lines: syms B assume(B>1) Which have nothing to do with the problem? It looks like they a...

約1ヶ月 前 | 2

回答済み
how to apply cubic spline interpolation curve fitting
What I think you do not understand is those curves are noisy, and you do not understand splines. The curves you drew are not noi...

約1ヶ月 前 | 0

| 採用済み

回答済み
please explain diag([rand(1,n-2) + 1, 1, 17])
When you have a problem, take it apart from the inside. What is inside-most? Was diag called with multiple inputs at all? (No.) ...

約1ヶ月 前 | 2

| 採用済み

回答済み
How can I calculate the slope of third order polynomial fit
Is there a reason why you would not think to differentiate it? help polyder

約1ヶ月 前 | 0

回答済み
Symbol calculation and numerical values
You are doing things in the wrong order. k,e,m,w are not unknowns. They are knowns. So why have you set them up as symbolic? N...

約1ヶ月 前 | 0

| 採用済み

回答済み
How to construct a weighed 2D histogram?
Just use accumarray to sum the weights in each bin.

約1ヶ月 前 | 0

回答済み
How can I convert red curve in an image into a line ?
What does it mean to convert something into a "curve"? In fact, there is no need to do anything of the sort. You have a picture...

約1ヶ月 前 | 1

| 採用済み

回答済み
Sine curve fit to data with an unknown dc offset
Of course it is possible. Use the curve fitting toolbox. ft = fittype('a + b*sin((x - c)/d)','indep','x'); mdl = fit(X(:),Y(...

約1ヶ月 前 | 0

| 採用済み

回答済み
How can I check if a variable exists within another variable?
It fails, because exist does not apply to fields of a strcture. help isfield isfield True if field is in structure array.

約2ヶ月 前 | 0

回答済み
random numbers without repetition of two consecutive numbers
These things are far easier than you think. In fact, there are (at least) two simple ways to solve it. Generate multiple sets ...

約2ヶ月 前 | 4

回答済み
im not able to run below given code
Now that we know what the problem is, those functions are part of the Phased Array System toolbox. https://www.mathworks.com/he...

約2ヶ月 前 | 0

回答済み
alpha shape vs convex hull volume value
A problem with your data is it has holes in it. The inside looks to be empty. But worse, it has a void on one corner, where the ...

約2ヶ月 前 | 2

| 採用済み

回答済み
Rank of Symbolic Matrix returns incorrectly
"Concuded by inspection." I've gotta laugh at that. B = [ 1, -1, -1, ...

約2ヶ月 前 | 1

回答済み
Interpolating from set of vectors to another with some tolerance?
Confusing as hell. You have one set of values as a pair of vectors, (xfine_i,Tfine_i). As well, you have the same thing at a c...

約2ヶ月 前 | 0

| 採用済み

回答済み
construc matrix D by OD process?
I suppose I'll make this an answer instead of just a comment, since nobody has answered yet. If all you wanted is to construct ...

約2ヶ月 前 | 1

| 採用済み

回答済み
Solving trigonometric equation using "solve" function.
Whats the problem? There is no need to set any properties anyway on such a trivial problem. syms x; x = solve(230.769*cos(x)+1...

約2ヶ月 前 | 0

| 採用済み

回答済み
how to create a symmetric binary variable matrix
You need to learn to index matrices, as you have been posting repeatedly what are virtually the same questions. Fundamentally, w...

約2ヶ月 前 | 0

| 採用済み

回答済み
Display numbers as power of N in a symbolic expression?
I don't think you can, at least, not easily. You can do pretty much anything with sufficient effort of course. syms X expr = e...

約2ヶ月 前 | 1

| 採用済み

回答済み
ode45 varargin - additional arguments after options
Long ago and far away, in an age long since past, MATLAB did not have function handles. There were no anonymous functions. There...

約2ヶ月 前 | 0

| 採用済み

回答済み
How to Calculate 100 times the volume of a 3D sphere using Monte Carlo simulation
First, you should already know the volume of a sphere. Is it producing reasonable numbers? If not, then why did you even bother ...

約2ヶ月 前 | 0

| 採用済み

回答済み
generate about 100 random number between 3 to 200 with lognormal disrtibution
A lognormal distribution is not bounded. So you cannot do what you wish to do. It is true however, that you can generate extra ...

約2ヶ月 前 | 0

回答済み
Matlab Eigenvalue/Vector wrong?!
Um, perhaps you misunderstand what eig does, when the matrix is not the usual, Hermitian symmetric matrix. Lsr=[0.0397796877172...

約2ヶ月 前 | 2

| 採用済み

回答済み
how to work on uncertainty of matrix numbers
This is not as easy as you think it should be, because numbers are not stored in MATLAB in decimal form. As such, what does MATL...

約2ヶ月 前 | 0

| 採用済み

回答済み
R2015 AND R2018
The simple answer as to the difference is 2018-2015 = 3. If you want a better answer, then you need to do some reading, as ther...

約2ヶ月 前 | 1

回答済み
Help with matrix manipulation
I'm usually harder than Steve is on these things, but I am pretty sure it is not homework. You want to form the sum of those el...

約2ヶ月 前 | 0

| 採用済み

回答済み
Polyfit fitting not work on Matlab
What is it that you think you are doing? Because this seems a bit strange to me. cooefs = [346.355000, -53.3701...

約2ヶ月 前 | 0

| 採用済み

回答済み
Create block sparse matrix
Are you asking how to create a block diagonal sparse matrix? Easy peasy. tic N = 100; M = 10000; Z = sparse(rand(N,N*M)); ...

2ヶ月 前 | 1

回答済み
How to generate a random point in the volume of a cylinder
Since you already have an answer posted... Pretty easy, actually. So two points that define the ends of the cylinder, and a know...

2ヶ月 前 | 2

| 採用済み

回答済み
can we check a condition at the end of a loop?
Where you are struggling is in explaining what you want to do. Giving an example is often a good idea. That is, give an example ...

2ヶ月 前 | 1

| 採用済み

Load more