Réponse apportée
how to use betafit for a data that is outside the range of 0 to 1.?
You essentially have a 4 parameter beta distribution that you wish to fit. That is, the upper and lower limits can be part of it...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
If z is a vector , what is the difference between angle(z) and atan2(z)
Perhaps you did not use atan2 properly. Consider this example: z = [1+i,1-i,-1+i,-1-i]; angle(z) atan2(imag(z),real(z)) If y...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
I use MATLAB 2013a because of some specific set of programs used in office only works on this version -- wont work in any other version
Um, not really. Your question is far too general of course for any specific answer. But you cannot just set some flag that tells...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How does Matlab perform large integer modular arithmetics using Symbolic Math Toolbox?
You won't get the exact algorithms. MathWorks does not hand out their internal code for this sort of thing, unless you have a jo...

plus de 4 ans il y a | 0

Réponse apportée
How to do symbolic interpolation in matlab?
You cannot define a symbolic spline. At least not in MATLAB. Could you write such a code? Well, yes. But you would need to under...

plus de 4 ans il y a | 0

Réponse apportée
Calculating the shortest distance of any given coordinate point to the line y=3x+2
You have done a fair amount. Surely you could just look online. https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line ...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
How to find the roots of a trigonometric equation?
Solving for the roots of the trigonometric equation you show in youer question is actually trivial. Sorry, but it is. In fact, i...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
contour3-With 3 dimensions input arguments
In order for a 3-d contour plot to make sense, you need to have some function, W(X,Y,Z), thuis a level surface, where you look f...

plus de 4 ans il y a | 0

Réponse apportée
How can i call the first point that appears in a matrix with a certain value?
A=[1 2 3; 4 5 6;7 6 9;6 4 7;9 0 10;3 4 6] firstappearance = find(A == 6,1,'first') So the first appearance of a 6 in that matr...

plus de 4 ans il y a | 0

Réponse apportée
how to Invert a matrix and how to delete a row and a column?
You would need to delete almost every row and column. What does it mean to invert a matrix of arbittraily small size then? And ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
what this functions exactly do (fwrite) and (ubitN)?
help ubitN ubitN is not part of MATLAB, not is it in any MATLAB toolbox. You need to contact the source. Ok, someone will sure...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
What's the differene between [a,b] and [a b] in matlab?
No difference. If a comma is used, then MATLAB catenates the elements horizontally. A space is equivalent to a comma. In SOME c...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Difference between Singular Value Decomposition and Smith Decomposition
How does this apply to MATLAB? This really is a question purely about linear algebra. Are they the same? No, they are not. Yes,...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Plot the Poisson CDF with the Standard Normal Distribution CDF
Note that a Poisson random variable will ALWAYS be a non-negative number. It CANNOT have mass on the negative end of the real li...

plus de 4 ans il y a | 0

Réponse apportée
Find invertible matrix pairs where both matrices are integers
It seems trivial. A = eye(3) inv(A) Both are entirely integer. As it turns out, A is idempotent, so it is its own inverse, b...

plus de 4 ans il y a | 3

| A accepté

Réponse apportée
What to do when teacher asks you to pirate matlab
You want us to tell you how to steal the software that we all essentially paid for? Sorry, but we can't help you. Once the free ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
how to avoid conj
syms theta theta1 theta2 Xprime=[sin(theta1)*sin(theta2) ,sin(theta1)*cos(theta2) ,cos(theta1)*sin(theta2), cos(theta1)*cos(the...

plus de 4 ans il y a | 1

Réponse apportée
Find closest divisor of a number
Simple enough. I wrote an alldivisors code many years ago... vlen = 65536; div_vlen = alldivisors(vlen) Now, suppose that you...

plus de 4 ans il y a | 3

| A accepté

Réponse apportée
how to calculate inverse of modulus function
The modular inverse you desire exists as long as a and N are relatively prime. If not, then there is a problem. The trick in MAT...

plus de 4 ans il y a | 3

| A accepté

Réponse apportée
Making a simple flower
What did you try? As it is, all we are asked to do is to write a complete code to solve your problem. And we don't do that here....

plus de 4 ans il y a | 0

Réponse apportée
delaunay() - why does it not work for coplanar points in 3-D?
Why should it work? For example, we can try this: XYZ1 = dec2bin(0:7) - '0' So we have the 8 vertices of a unit cube. There a...

plus de 4 ans il y a | 1

Réponse apportée
How to remove singularities/discontinuities on 3D plots?
There is no simple direct command to remove singularities. However, nothing stops you from setting the z axis limits. syms x y...

plus de 4 ans il y a | 2

Réponse apportée
Calculate argmin for the function in matlab
What have you tried? Why not? And why did you feel you needed a picture of the vector S? That just makes us type it in. Not gonn...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Has anyone worked with Giuga numbers?
What does this have to do with MATLAB? Anyway, the answer is easy. Don't use the symbolic toolbox, at least not unless the resu...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
How to use a optimization toolbox in MATLAB Cody problem?
The problem is, CODY solvers are assumed to have equal capability to solve a problem. If I don't have the optimization toolbox, ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Data fitting using GLM model
Trivial. Well, trivil, If we assume that A0(H10) was actually intended as A0*H10. r(H10,T,P,t)=a0*H10 + a1*t + a2*t^2 + a3*...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Good evening , I would like to know how to compare bet. two strings if they are equal or not while having a counter to keep track of equalities , given a list of airports
Easy. We see the set of flights. I've coupled the origins and destinations together here: [origins,Destinations] ans = 42×2 ...

plus de 4 ans il y a | 2

| A accepté

Réponse apportée
Find the volume of solid generated by revolving the region bounded by the curve 𝑦 = √𝑥, 𝑦 = 0, 𝑥 = 2 about the line 𝑦 = 5.
Ok. I did it. Not too hard. Oh. Wait. Was this YOUR homework assignment, given to you? Is there a reason why we should do it for...

plus de 4 ans il y a | 0

Réponse apportée
How to create 15,24 25 26,33 34 35 36 37 in a triangle pattern?
You cannot create an array that does not have the same number of elements in each row. MATLAB does not allow this. Yes, you coul...

plus de 4 ans il y a | 0

Réponse apportée
Euler and FD method
What is dt? dt=0.248; What is tvec? Is tvec composed of integers? (No, because you used the colon operator with a stride of 0...

plus de 4 ans il y a | 0

Charger plus