Community Profile # Ali Almakhmari

Last seen: 3 jours il y a Actif depuis 2020

#### Statistics

• #### Content Feed

Afficher par

Question

Combinations and Matrices?
Can someone help me figure out an efficient way to create a matrix that is N by 20, where N is the number of all possible unique...

4 jours il y a | 1 réponse | 0

### 1

réponse

Question

How can I calculate the index of when the sequence starts to repeat?
Lets say I have a vector: V = [1 1 1 1 1 0 1 0 1 0 0 1 1 0 0 0 1...

7 jours il y a | 2 réponses | 0

### 2

réponses

Question

Newton Raphson method for a system of non-linear equations?
If I have a non-linear system of two equations that are each in terms of two variables x and y: eqn1(x,y) = 0 eqn2(x,y) = 0 ...

environ un mois il y a | 1 réponse | 0

### 1

réponse

Question

How to generate random numbers in a Gaussian distribution?
Given A = 1 and B = 5, and knowing that the mean is 2.5 and the standard deviation is 1, I want to generate 1000 random points b...

environ 2 mois il y a | 1 réponse | 0

### 1

réponse

Question

How in the world am I supposed to install MATLAB on Linux Ubuntu 20.04?!
I know this question was asked multiple times not just on this forum but many other ones. But I just can’t seem to get the help ...

environ 2 mois il y a | 1 réponse | 0

### 1

réponse

Question

Why does this code fail?
I have this code that looks something like the below (I cant upload the actual code). I get an error that says that: Error using...

environ 2 mois il y a | 1 réponse | 0

### 1

réponse

Question

Creating a row vector of combinations?
I have a row vector that 1 by 4. And I know that the minimum and maximum values of the elements in this vector to be -15 and 15....

2 mois il y a | 2 réponses | 0

### 2

réponses

Question

How can I make MATLAB recognize multiples?
I am trying to write line(s) of code that can recognize if a given number is an integer multiple of another given number. For ex...

2 mois il y a | 1 réponse | 0

### 1

réponse

Question

how can I tell MATLAB to add a NaN if the size of concatenation is not consistent?
Lets say I have two matrices: A = [2,2;3;3] and B = [4,4,4;5,5,5] I was trying to concatnate them by doing: C = [A; B] But MAT...

2 mois il y a | 1 réponse | 0

### 1

réponse

Question

I have my whole code written in a gigantic .m file. In a certain process I am doing in my code, I want to call this block (shown...

2 mois il y a | 1 réponse | 0

### 1

réponse

Question

Time-based integration of ODEs
Hello everyone. I have a problem that I hope I can get some help on. So I have the following set of differential equations: ...

2 mois il y a | 1 réponse | 0

### 1

réponse

A répondu
closest value to zero excluding the first one?
"dis_y" being the variable: I = find(diff(dis_y>=0),1);

2 mois il y a | 0

| A accepté

Question

closest value to zero excluding the first one?
If given a long vector of values. How can I find the index of the closest value to zero excluding the first value of the vector ...

2 mois il y a | 3 réponses | 0

### 3

réponses

Question

Is there a way to visualize this data?
I have a 1 by 10000 variable, a 1 by 60 variable, and a 1 by 1491 variable, is there a way to visualize and plot this in a 3D gr...

3 mois il y a | 1 réponse | 0

### 1

réponse

Question

How to answer a call for an input from the script?
So I used the system('run.bat') in my script to run a series of commands that will ask certain questions. I want to code the ans...

3 mois il y a | 1 réponse | 0

### 1

réponse

Question

Non-linear Multi-Variable Fitting
So I have lots of data (about 1000 points) and I want to fit this data in terms of six varbales: F(x,y,z,u,v,w). Is this possibl...

3 mois il y a | 1 réponse | 0

### 1

réponse

Question

Why am I getting an error on this?
Why am I getting an error that says "Not enough input arguments." function dydx = funct(x, y, z) a = 1; b = 2; c...

3 mois il y a | 1 réponse | 0

### 0

réponse

Question

Efficient way to solve an equation in MATLAB
I have a nested for loop system that will run 251658240...you heard me correctly. There isn't much in this for loop that is time...

6 mois il y a | 1 réponse | 0

### 1

réponse

Question

How to georeference in MATLAB?
So guys I have a map as given in the google drive link (too big to attach here): https://drive.google.com/file/d/1XzeM835pHCJQ3h...

7 mois il y a | 1 réponse | 0

### 1

réponse

Question

How would I convert years to date time?
I have many values given in years. How would I convert them to a date and time in UTC? For example, one of the values I have is ...

8 mois il y a | 1 réponse | 0

### 1

réponse

Question

How would I detect gray/white pixels in a picture?
I am trying to write a function to detect white-like and gray-like pixels in a given colored picture. I am stuck on how to go ab...

8 mois il y a | 2 réponses | 0

### 2

réponses

Question

Robinson map projection?
I have a map of Earth in the cylindrical projection that has all the planet's data (longitude: -180 to 180 degrees, latitude: -9...

8 mois il y a | 1 réponse | 0

### 0

réponse

Question

Is Pixel Interpolation possible in MATLAB? If so, how?
Hey guys. So I have a picture, but unfortunately, some pixels in it are completely black (the RGB values are 0,0,0). For those s...

8 mois il y a | 2 réponses | 0

### 2

réponses

Question

How do I put my values in certain bins and retrieve the values from the highest count bin
I have been trying to do this for a while and failed, am hopping to get some guidance. So I have a 3D variable called Zo, its 36...

8 mois il y a | 1 réponse | 0

### 1

réponse

Question

Can you specifiy an action when MATLAB throws an error
I am working on a very complex project (code) with limited memory on my laptop. There is a gigantic variable in my for loop that...

8 mois il y a | 1 réponse | 0

### 1

réponse

Question

What is an efficient way of finding the maximum value under a certain limit?
Can you guys throw few lines my way that will help me find the maximum value under a certain threshold in a matrix? Lets say I h...

8 mois il y a | 1 réponse | 0

### 1

réponse

Question

Why does MATLAB play with the contrast of my image after saving it?
I have a very weird problem that I hope someone can help me with. So Attached are two pictures of almost the exact same location...

8 mois il y a | 1 réponse | 0

### 0

réponse

Question

How do you rotate an ellispoid?
So I have an ellispoid plotted in MATLAB. And I want to make an animation of this ellipsoid being rotated around its center with...

8 mois il y a | 2 réponses | 0

### 2

réponses

Question

How to take the mean of each four adjacent position in a matrix?
So I have this matrix variable that I attached here. Its 1536 by 2048, and I want to reduce it to 768 by 1024 by taking the mean...

10 mois il y a | 1 réponse | 0

### 1

réponse

Question

How to find the indices of the closest value in two non-equal sized matrices?
I have two matrices with random numbers. One is 768 by 1024 (matrix A) and the other is 1536 by 2048 (matrix B). I want to devel...

10 mois il y a | 1 réponse | 0

réponse