Respondida
Get orthogonal points on other spline
I did NOT say it was impossible to solve. I did say that what you are asking does NOT mean the closest poiints on curve 2 will h...

casi 4 años hace | 0

Respondida
I do not understand why this script {8/2<5*3+1>9} with logical operators gives NO (0)?
Just because people use a specific mathematical shorthand, does not mean that shorthand is implemented in MATLAB syntax. In this...

casi 4 años hace | 1

| aceptada

Respondida
Any function to get adjacency matrix of 2D M by N lattice?
Simple. Given N and M, the code below will work. Note that it builds the matrix in sparse form, since a large such matrix will i...

casi 4 años hace | 1

| aceptada

Respondida
How can I use fzero on these two functions?
Why in the name of god and little green apples do you want to transform the function, by taking the log? Just move the exponenti...

casi 4 años hace | 1

| aceptada

Respondida
How can i convert binary number to galois field integer number ??
Easy enough. Assuming bits in the form of a character string of length 3, I'll start with all possible 3 bit numbers in binary. ...

casi 4 años hace | 0

Respondida
How can i multiply galois field integer number with one another?
Assuming you are talking about doubles, that contain members of such a field, you just multiply, then use mod. For example, here...

casi 4 años hace | 0

Respondida
Is there any mathematical method of curve fitting for cases when the modeling function is unknown (another degree of freedom for the form of the function)?
No. There is no magical method that will look at your curve, and decide what form it has, and then fit that form. And yes, that ...

casi 4 años hace | 1

Respondida
how do i get the the fifth and fourth number form behind?
You want the 5th and 4 decimal digits of the numbers, as a 2 digit number? Surely this is homework. But since you already have a...

casi 4 años hace | 1

Respondida
If one coordinate of the point is given how to find another coordinate?
This reduces to the so called modular square root problem. That is, solve for x, such that mod(x^2,p) == r where p and r ...

casi 4 años hace | 1

Respondida
Hi everyone, can someone help me with this double sum ?
Surely you can use a loop? Actually just nested loops? Perhaps your problem is MATLAB does not allow a zero index, yet you have ...

casi 4 años hace | 1

Respondida
Calling a custom function in fittype()
Easy peasy. ft = fittype('a + b*exp(c*x)','indep','x') You can now use this as you wish. Oh wait. Maybe what you are asking i...

casi 4 años hace | 0

Respondida
Question about internal aithmetics
This is a subtle point. Actually a very good question. We don't need to look at 1e20. the number 1 is entirely adequate. x = 1;...

casi 4 años hace | 0

| aceptada

Respondida
How to apply for Random function ?
Random is a function in MATLAB, but it is part of the stats toolox. help random which random So either to do not have the sta...

casi 4 años hace | 0

| aceptada

Respondida
Stiff Differential Equation solver (Euler?)
You SERIOUSLY do not want to use a standard Euler's method to solve a stiff ODE. You will be wasting your time. Why do you think...

casi 4 años hace | 0

Respondida
How to create a random matrix?
Can you generate a vector of numbers that all lie in the interval [0,1]? (I hope so. read the help for rand.) Can you insure th...

casi 4 años hace | 0

Respondida
How to get log to = 1 or 0?
First, I seriously want to suggest is it a BAD idea to use the variable named log in your code. Why? Because if not, then the ne...

casi 4 años hace | 0

Respondida
How to divide a color circle into 360 regions by degree and read the average RGB value of each region?
You are probably thinking about it the wrong way. How did you generate the color wheel? Or is that just a picture of a color whe...

casi 4 años hace | 0

Respondida
Get a plot next to an existing plot
interparc is a function found on the file exchange (though written by me.) It is not part of MATLAB, until you get it from the f...

casi 4 años hace | 0

| aceptada

Respondida
Prolate spheroid surface area
You need to learn about the dotted operators, and why they are necessary. Yuou want to compute an element-wise operation, one t...

casi 4 años hace | 0

Respondida
how we write summation with loop
Note that I think you are trying to write some other language, while you are using MATLAB. For example, this is NOT legal MATLAB...

casi 4 años hace | 0

Respondida
Store trios of values from different vectors in an only vector
Please stop posting the same question multiple times. You made some effort though. First, learn to use meshgrid. [X,Y] = meshg...

casi 4 años hace | 0

| aceptada

Respondida
I am trying to fit a line (to a blue curve in the image) using spline, pchip or makima function, however, theses function do not work properly (red line).
They don't work, because your curve does not describe a SINGLE valuesd function y(x). That is, for many values of x, there are T...

casi 4 años hace | 0

Respondida
How do I find the eigenvalues and vectors of an equation not of form (A*x = b*x)?
This is a classic problem in eigenvalues, caled the generalized eigenvalue problem. That is, if you want to solve the eigenprobl...

casi 4 años hace | 0

Respondida
How to convert decimals to Ascii characters?
The ascii encoding is not what you are asking to find, since this produces a different result. D = 0:63; char(D + 'A') Howeve...

casi 4 años hace | 1

| aceptada

Respondida
Set of all bipartite graphs
No problem. Well, there probably IS a problem, as people are far too often surprised at how big things get. How do you generate...

casi 4 años hace | 0

Respondida
I have an image that is 234x432x4 size wise. I tried imshow() and image(), but it doesn't work. What do I use?
You have a 4 channel image, most likely CMYK, certainly not RGB. For example: imshow(rand(234,432,3)) As you can see, there ...

casi 4 años hace | 0

Respondida
3/8 Simpson's Rule
Please don't keep on posting the same question. You got no answer, since your question was itself terribly confusing, as was you...

casi 4 años hace | 1

Respondida
How to find position function with acceleration function using matlab
Just knowing the acceleration is meaningless, UNLESS you know how long the acceleration was in force. Next, acceleration is a ve...

casi 4 años hace | 0

Respondida
How can i get ODE to solve an equation if my y0 is more than one value?
You seem to have a misunderstanding. You are asking to solve a differential equation, here a first order ODE. (A Jan points out...

casi 4 años hace | 1

| aceptada

Respondida
Get the displacement component which is perpendicular to the triangle (finite element)
A highly confusing question. You talk about a triangle, but you do not tell us the coordinates of the triangle, only the displac...

casi 4 años hace | 1

Cargar más