Réponse apportée
Are the algorithms used in mldivide direct solvers?
The algorithms in mldivide are not iterative, in the sense that an iterative algorithm converges to a result, improving upon it ...

plus de 3 ans il y a | 0

| A accepté

A soumis


A limited set of basic number theoretic tools
Various tools for working with integers and their factors, primes, congruences, etc.

plus de 3 ans il y a | 2 téléchargements |

5.0 / 5

Réponse apportée
Is Matlab Fast Enough For Accurate Simulation Of New VAWT Turbines Like This?
Is it fast "enough" How fast is fast enough? Odds are you will never be happy. A small model that might be fast enough will not ...

plus de 3 ans il y a | 0

Réponse apportée
Can I use multiple values for lb and ub in fmincon?
If you want to have one of the parameters as a bound, then it is NOT a bound constraint!!!!! For example, suppose I wanted to s...

plus de 3 ans il y a | 1

Réponse apportée
How to solve systems of inequalities and obtain numerical values ​​of variables to write them in a .txt file?
A system of inequalities does not have a "numerical" solution. There will generally be infinitely many solutions (though in very...

plus de 3 ans il y a | 1

Réponse apportée
Functional programming: looking to create functions that map f(p1,p2,p3,...,pN,x) to g([p1 p2 p3 ... pN],x) and the reverse
I think you are only part way along in your quest, but that your quest will never be happily fulfilled. You are asking to have ...

plus de 3 ans il y a | 0

Réponse apportée
Plotting fmincon with varying constraint
You already know how to use fmincon. And surely you understand how to use a for loop. Set up a loop, varying a over the indicat...

plus de 3 ans il y a | 0

Réponse apportée
How can I write the coordinates of this geometry?
Simplest? Use a polyshape. H = 10; Ps0 = polyshape([0 0;0 H;H H;H 0]) plot(Ps0) Next, create a pair of circles. t = linspac...

plus de 3 ans il y a | 0

Réponse apportée
how do I properly format using the syms function in matlab
Do you need parens around the x? NO. syms x c=factor(2*x^4+x^3-19*x^2-9*x+9); fprintf('Problem 3a answer is :',c) Anyway, wh...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to find the nearest gaussian of a function ?
The one thing you don't want to do, is fit a degree 11 polynomial. From your comments, you have already figured out how to per...

plus de 3 ans il y a | 1

Réponse apportée
I am trying to solve a system of linear equations generated from a 2-D finite element problem. The equations (shown below) are not in the general form Ax=B..
Ok. Now I see a real problem. I almost was going to make one up. But that is always less fun, and takes just a little more thoug...

plus de 3 ans il y a | 2

Réponse apportée
At max, how many systems of odes can we solve at once?
There is no maximum number. Or, there is, but it is purely dependent on how much RAM you have, and the time you are willing to s...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Can I believe the values of these large integers?
clear; clc; tic; mAx = 10000; daTa = zeros(mAx,mAx); daTa(:,2) = 2; daTa(:,1) = 1; daTa(1,:) = 1; daTa(3,3) = 3; for idx ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
asking about command in matlab
As much as I completely agree with @the cyclist, that you need to start to learn MATLAB, you also need to learn to take apart a ...

plus de 3 ans il y a | 0

Réponse apportée
elliptic curves and finite fields in Matlab
An inverse is trivial in MATLAB. Just use gcd. That is, if you want to solve the problem a*x = 1, mod P where a and P are ...

plus de 3 ans il y a | 0

Réponse apportée
variance for an array
Why would you need a for loop? V = 42; % you don't tell us what is the variance. So that is my choice. 42 is the answer to all ...

plus de 3 ans il y a | 0

Réponse apportée
Construct the complete curve from one segment of it
load d1.mat x = d1(:,1); y = d1(:,2); k = 130:270; plot(x,y,'-b',x(k),y(k),'ro') Seriouisly, you want to reconstruct the EN...

plus de 3 ans il y a | 0

Réponse apportée
Problem with convergence of nonlinear equation systems with constraints ( using solve() )
A common fallacy that people fall to, is that just because you don't know the value of some variable, that it MUST be symbolic. ...

plus de 3 ans il y a | 0

Réponse apportée
why I get error when Start my code with %?
%% Section 1 % ka=0.8; Am=1; fm=2; t=0:0.001:1; mt=Am*sin(2*pi*fm*t); Ac=2; fc=50; ct=Ac*cos(2*pi*fc*t); St=(1+ka.*m...

plus de 3 ans il y a | 0

Réponse apportée
how to solve this
You already solved it. So where is the problem? If I had to guess, it is why the circle you just plotted does not appear circula...

plus de 3 ans il y a | 0

Réponse apportée
Fast Evaluation of Multivariate Polynomials
You have clearly not looked quite EVERYWHERE. Had you done so, you might have found my polyfitn. In there, is a polyvaln code, w...

plus de 3 ans il y a | 1

Réponse apportée
Sorting of points (2D) clockwise with respect to the center of gravity
I'm confused. Have you already subtracted off the center of gravity from the columns of data? I don't see that operation. If not...

plus de 3 ans il y a | 0

Réponse apportée
The Chinese Remainder Theorem
Since I was going to post this on the FEX anyway, I've attached a simple code to implement the basic C.R.T. Note that all you re...

plus de 3 ans il y a | 0

Question


Solving systems of linear congruences in MATLAB
I've noticed many questions over the years where someone would like to find all integer solutions to a problem. And often it is ...

plus de 3 ans il y a | 1 réponse | 1

0

réponse

Réponse apportée
How to compute the difference of the integrals of two functions (f(x) and j(x)) only over the portions where f(x)>j(x)
I don't see why it should be a struggle. Start at the beginning. Break the problem down into small pieces. Then solve each of th...

plus de 3 ans il y a | 1

Réponse apportée
How can i equally distribute a list of values into 3 approximately equal groups.
DON'T WRITE YOUR OWN CODE to solve problems that are already well known and solved by others who understand the problems and how...

plus de 3 ans il y a | 0

Réponse apportée
Temperature conversion script doest work with negative input value
Nope. Works just fine. For example, with F = -459 (approximately absolute zero) you should get approximately -273. F=input('Inp...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Convergence can't be reached in lsqcurvefit
Not every model you pose will always fit every set of data. But first, we should look at your model, as well as your data. G_pr...

plus de 3 ans il y a | 0

Réponse apportée
I need an activation key for license 4xxxx
Answers is not customer support. We cannot help you. In this respect, even if someone COULD help you, they would not post an act...

plus de 3 ans il y a | 0

Réponse apportée
Spline with clamped end conditions using griddedInterpolant
You cannot do so. There is no capability for that in griddedInterpolant. But I fail to see the problem. Just use spline, which D...

plus de 3 ans il y a | 1

Charger plus