Community Profile

# Ali Almakhmari

Last seen: 2 Tage vor Aktiv seit 2020

#### Statistics

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Frage

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...

2 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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...

3 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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 ...

4 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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...

4 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

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...

4 Monate vor | 0 Antworten | 0

### 0

Antworten

Frage

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...

4 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

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...

4 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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...

4 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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...

4 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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...

4 Monate vor | 0 Antworten | 0

### 0

Antworten

Frage

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...

4 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

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...

6 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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...

6 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

Index in position 2 must be positive or logical value error?
I am about to pull my hair out. Why is this giving me an error. I checked my math about nine times and its fine. Either I am ins...

6 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

How to place a specific pixel in a specific coordinate
So I have a lot of colored pixels information (a picture that is 3072 by 4096 by 3), and also have an X, Y, and Z coordinate tha...

6 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

Two functions with the same name?
So I downloaded the MAAT library which has a function named "fitsread", but after I went to the documentation of the MATLAB pack...

6 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

For some reason I can't read this FITS file...or any FITS files. I keep getting an error that says index out of range. And when ...

6 Monate vor | 0 Antworten | 0

### 0

Antworten

Frage

Hey guys. So I attached the CSV am having trouble reading. I tried using fileread and I got a weird format that ended up horribl...

6 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

3D Plotting with symbolic variables
I want to 3D plot the T_AP_C1, T_AP_C2, T_AP_C3 varibales using a 3D plot with "mv" on the x-axis, "T_C" on the y-axis, and "T_A...

8 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

Calling a function inside an integration
So I posted a snipet of my code below. The issue I am having here is regarding how to syntax my code correctly in the integratio...

8 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

Can someone help me with this integration
In addition to getting an error in this, what I want to essentially do is replace f1(1, i) in the integ2 variable, but I keep ge...

9 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

Integral "int" function not evaluating
Why is the "int" function not evaluating my integral? The "r" variable still has the "int" in it. clear clc theta_s = 0:0.5:p...

9 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

How plot an accurate Earth (Globe)
I want to plot my orbit of a satellite which I already have the X, Y, Z coordinates for. But I want to plot the orbit and at the...

etwa ein Jahr vor | 0 Antworten | 0

### 0

Antworten

Frage

How to extract numbers in a string?
So I have a huge table (672 elements) and each cell has a string that involves a number and some letters at the end with a varia...

etwa ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How to know the value of my point on the colorbar?
So I have a complicated 3D plot with a colorbar. The colorbar gives me an indication what the temperature is like in a certain r...

etwa ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How to plot four dimensional data?
I have a variable 'n' that is 1 by 81, 'm' that is 1 by 81, and 'o' that is 1 by 81. And the function 'f' that is 81 by 81 by 81...

etwa ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How plot 4D data?
Lets say that I have the following data and I would like to plot the function f that is dependent on x, y, and z, In other words...

etwa ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I make MATLAB shade the area of the virtual intersection between two lines?
The below code will plot a figure of two lines (red and blue) and few dashed lines to help you visualize what I am talking about...

etwa ein Jahr vor | 2 Antworten | 0

### 2

Antworten

Frage

Inverse laplace and limits
How can I find the limit as t goes to infinity of the inverse laplace function (A)? Code Below syms s G = (14*s^2+32)/(s*(s^...

fast 2 Jahre vor | 0 Antworten | 0

Antworten

Frage