回答済み
how to get the numerical solution of Non linear equation for unknown variable
Confusing. That usually means the person is also confused. We are shown an integral on the left hand side. It is an integral ov...

19日 前 | 0

回答済み
what is tje problem whit the function "solve"?
Is zero a valid solution? It appears to be so. (By the way, you don't put the names of the variables in quotes to call solve. Bu...

19日 前 | 1

| 採用済み

回答済み
right triangle area within a certain tolerence
You have two problems in one line. Worse, you have two problems virtually within the same character. Hey, that could be a record...

20日 前 | 0

回答済み
solve and vpasolve command doesn't work
I always need to laugh when someone says solve does not work, yet they never invested any thought in what they were trying to ma...

20日 前 | 1

| 採用済み

回答済み
Results for an optimization problem are coming different which usually does not happen.
It is a little hard to follow these equations, since you change nomenclature. Lets see, it looks like x becomes I. y is GO, and ...

20日 前 | 2

回答済み
fitting a funciton with minimax error
mat =xlsread('example2.xlsx','Sheet1','A2:C32'); density = mat(:,1); Z_MD = mat(:,3); eta = mat(:,2); eta_c = 1/1.55; Your ...

21日 前 | 2

| 採用済み

回答済み
How to find where a variable was set?
Not very easily. Depending on how nasty and convoluted the code is, you can easily have something that is essentially impossible...

21日 前 | 1

回答済み
euler method first order
Um, no? Not correct. Not terrible. Even pretty close. But not correct. You got a lot of it right. You preallocated y_euler corre...

22日 前 | 1

| 採用済み

回答済み
Is there a way to evaluate the length/area of a connected cubic spline?
Seems pretty easy to me. Well, easy enough. Ok, well doable. Compute the area inside an ellipse, centered at [2,3], all done by...

23日 前 | 1

| 採用済み

回答済み
Fit the model to real data
The problem is, we do not see your data. Only you can. However the one thing that is painfully obvious is that your model is lin...

23日 前 | 0

| 採用済み

回答済み
Mean over specific columns
Easy peasy? Convert to an array first of course. Or, if some of those columns are non-numeric, then convert only the indicated c...

23日 前 | 0

回答済み
Spline to optimize the curve
It seems you want to interpolate these points, doing so smoothly, yet not going outside the data. xy = [ 2.0000 2.0000 2.27...

23日 前 | 1

回答済み
Error in solving double integration
Don't make people guess what error you got. TELL US. Paste in the COMPLETE message, thus everything in red. Today, on your ques...

23日 前 | 0

| 採用済み

回答済み
How can I create this function on MATLAB?
With only 1/k in the denominator, that sum will take forever to give you any degree of precision in the sum. So that degree of p...

24日 前 | 1

| 採用済み

回答済み
Plotting a Constant Section for a Piecewise Function
Your problem lies in your assumptions. Try this example: t = 0:10 t = 0 1 2 3 4 5 6 7 8 ...

24日 前 | 2

| 採用済み

回答済み
Trapz error ORDER contains an invalid permutation index.
If you call trapz using TWO arguments, the second of which is a scalar, then it is assumed you want to use the second argument t...

25日 前 | 1

回答済み
How can I find if an element of my array is divisible with 0.05
Um, no. And, Yes. Floating point numbers like 0.05 are NOT EXACTLY representable in double precision. Remember that doubles are...

26日 前 | 1

| 採用済み

回答済み
Find columns of a Matrix (n x m) that fit best to a Vector (n x 1)
You need first to decide what it means to "fit best". For example, I'll just make up some data here. data = rand(3,20); >> dat...

26日 前 | 1

| 採用済み

回答済み
Minimize function with L-BFGS-B algorithm
Team? What team? Ain't no team here. Perhaps you misunderstand what Answers is, as an open forum visited by volunteers. The bou...

28日 前 | 0

回答済み
Sum does'nt work for large q.N
The factorial function is rarely a good idea to use heavily. Large factorials tend to exceed the limits of double precision. Yo...

28日 前 | 0

| 採用済み

回答済み
How do you get ten random values between -pi/2 and pi/2
Read the help for rand. (Why not do this?) In there, you will find an explicit example of exactly how to do this. help rand d...

28日 前 | 0

回答済み
Can we sum a series of values,even some of them are "Inf"?If i want to do it,how can i do?
No. You cannot add numbers if some of them are infs, at least not without getting an inf as a result. OR you might even get a Na...

28日 前 | 0

| 採用済み

回答済み
Does predict function work in parallel when predicting k-nearest neighbour?
Perhaps you are mistaken. Most high level tools in MATLAB do not directly, intentionally use parallel processing, splitting the ...

28日 前 | 0

| 採用済み

回答済み
what's the difference in accuracy between solving a stiff problem by ode15s and ode45?
Actually, in many cases, sufficiently stiff problems see a solver like ODE45 grind to a complete halt, unable to pass a point wh...

28日 前 | 0

| 採用済み

回答済み
Problem using boundary and trisurf functions to create a mesh with three points
You have THREE points, in a 3 dimensional space. How many points determine a volume in 3-d? 4. Essentially, a tetrahedron in 3 ...

29日 前 | 0

回答済み
Why is det(x) better than rcond(x) in determining non-singularity here?
Let me suggest that you misunderstand det, and why it is a terribly poor tool to use to learn if a matrix is singular or not. Ye...

29日 前 | 2

| 採用済み

回答済み
Create Matrix with zeros, ones and some numbers.
Far fewer numbers required... dec2base(hex2dec({'1','1','1E23B','6069','D508F'}),10) - '0' ans = 0 0 0 0 ...

29日 前 | 1

回答済み
SVD issue calculating null basis
The problem is that while the last element of s is small, it is not technically zero. s s = 3.17982071419273 ...

29日 前 | 1

| 採用済み

回答済み
I need matlab code for cot(x) Taylor Polynomial Function
I think what you do not understand is how to build that series expansion. A Taylor polynomial would be of the form: P(x) = ...

29日 前 | 0

| 採用済み

回答済み
I want to mesh a square element with a circular hole in the middle
Use polar coordinates. Surely you know the equation of a circle in polar coordinates. r = r0 What is the equation of a unit ...

30日 前 | 1

Load more