回答済み
Solving an initial value problem when one of the initial values is unknown
Simple enough, since this ODE has an analytical solution, even without any boundary conditions specified. (If the ODE did not ha...

2年以上 前 | 0

回答済み
Find files path location and removal.
I think I understand what you have done here, but I may be wrong. Never store files in the MATLAB toolbox directories. NEVER do...

2年以上 前 | 0

回答済み
creation of a circular plane passing through three nodes and for central node
It does not pass through those other points, because ... your code is wrong. Seems simple enough. What did you do incorrectly? ...

2年以上 前 | 0

| 採用済み

回答済み
Is there a way to make matlab faster?
We don't know if you just want it to run faster. After all, everybody wants their code to execute in zero time on an infinitely ...

2年以上 前 | 1

回答済み
How do I get largest distance between two rows in an nx3 matrix?
As long as there are not too many points, pdist2 will work, and be easy to use. Just choose the largest of all distances found. ...

2年以上 前 | 0

回答済み
Outer product of two 512*512*300 matrices
Since there has been no response to my request for clarification... The request was for an outer product. An outer product is a...

2年以上 前 | 1

回答済み
Finding a way to cleanly show double data points in a plot
You want to show two different points at different locations on the x axis. But currently you have them with the same values for...

2年以上 前 | 0

回答済み
Matlab function gives 'ans=0' answer problem
First, you need to understand a fundamental feature of MATLAB. Suppose we call ANY function? It need not be one you wrote yours...

2年以上 前 | 0

回答済み
How do we test for infinite series convergence or divergence in MATLAB
I suppose with some effort I could find a series where convergence is not known. But it is early in the morning, and mental effo...

2年以上 前 | 1

| 採用済み

回答済み
how do i use two varaibles with values of somewhere from 1 to 9 to make a 2 digit number
What if you added them together? Maybe multiply one of them by 10 first? What would that do?

2年以上 前 | 0

| 採用済み

回答済み
How to make change in the algorithm to start and end at a same point?
Your problem is, you want to force the code to return a tour that starts at point 1, and ends there. And that is where you are W...

2年以上 前 | 0

回答済み
Converting from syms to double
We don't see what is in that variable. But... If you cannot convert it to a double, then it is not a number. It has some symbol...

2年以上 前 | 0

回答済み
different time executions........
And you are surprised, because? Did you xpect exactly the same amount of time taken, EVERY TIME, to within a millisecond? Yes,...

2年以上 前 | 0

回答済み
ExB drift velocity code equation
I might guess that what you really want is to divide by the square of the norm of B. NOT by the elements of B squared. E = 0.1;...

2年以上 前 | 0

回答済み
why did the "text" function stop working while creating a new section in my live data
Whenever a function "stops working" you need to see if you have created a variable named text, or another function or script by ...

2年以上 前 | 0

回答済み
How to solve this equation?
As I see it, from your question, I think people have been missing the point. As has been said, there are no real solutions for s...

2年以上 前 | 2

回答済み
How to solve out of memory error when constructing sparse matrix
Remember that i and j and v also take memory. (222263280*4*2 + 222263280*8)/1024^3 So those three variables alone require 3.3 ...

2年以上 前 | 0

回答済み
What is 5A?
The obvious seems clear, since I recall arithmetic. FiveA = [15 10 25 5]; I think you DESPERATELY NEED to do the basic Onramp ...

2年以上 前 | 0

| 採用済み

回答済み
Find the volume of the solid generated by revolving about the x-axis the region bounded by the curve y= 4/x^2+4,the axis, and the lines x=0 x=2
The question is now a year old, so I'll show how to solve it. @Mukesh chose to work with a different domain than the question as...

2年以上 前 | 1

回答済み
Matlab simulation for projectile motion
I think I don't understand their not understanding. (Ok, that seems confusing even to me, and I wrote it.) I would just write i...

2年以上 前 | 0

回答済み
Remove algebraic loop without delay
I don't know for sure how Simulink resolves the issue internally, but the answer seems straightforward. Consider the equation ...

2年以上 前 | 0

回答済み
Mathematical functions across variables
Is there a good reason why you would not just try this? A(1,1) + B(2,1) I think you are coming from a spreadsheet world. And f...

2年以上 前 | 0

回答済み
Draw samples using a Non-Gaussian distribution
I think you don't understand random numbers, AND you don't understand indexing in MATLAB. What does this do? random('poisson',1...

2年以上 前 | 0

回答済み
how does fmincon deal with ill-conditioned problem?
fmincon assumes you know what you are doing. (Is that not a good idea?) It tries to solve what you gave it to solve. Surely that...

2年以上 前 | 0

回答済み
Sub-optimal curve fitting, cannot find asymptotic value
I think you do not understand. Estimating an asymptote from data is a problem of extrapolation. It will be strongly dependent on...

2年以上 前 | 0

回答済み
unbounded in linear programming
First, read the warning message! "Warning: Length of lower bounds is < length(x); filling in missing lower bounds with -Inf." ...

2年以上 前 | 0

回答済み
Problem 2022. Find a Pythagorean triple
A simple enough solution... isTherePythagoreanTriple(1,2,3,4) isTherePythagoreanTriple(3,4,5,6) isTherePythagoreanTriple(12,1...

2年以上 前 | 0

回答済み
I don't know why you're saying it's an invalid expression. Help me
You NEED to learn about the dotted operators, thus .*, ./, and .^ operators. When x is a vector, for example, this: x = 1:5 ...

2年以上 前 | 0

回答済み
How can I simplify the symbolic expressions?
clear clc syms q_bar delta_o theta1 theta2 q S CL_alpha CL_delta b e KT eqn1 = (2*theta1 - theta2 - q_bar.*theta1 + q_bar.*th...

2年以上 前 | 0

| 採用済み

回答済み
series computing is faster than parallel computing using parfor
There is no assurance that a parallel code will be faster than any specific serial code. ABSOLUTELY NONE. In fact, I can easily ...

2年以上 前 | 0

さらに読み込む