Community Profile

photo

Ali Almakhmari


Last seen: Today Active since 2020

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


How to find the angle?
Hi guys. Lets say I have two points, and I want to find the angle (0 to 360 deg measured counter clockwise) from the x-axis to t...

21 dagen ago | 1 answer | 0

1

answer

Question


Solve function not returning a zero
Hello guys. Sometimes, at certain x-values, the solve function doesn't report back a proper value so I get an error that says "U...

22 dagen ago | 2 answers | 0

2

answers

Question


How to determine concavity point?
I have a bunch of data that when plotted look similar to this: I want to know how I can use MATLAB to determine the corne...

22 dagen ago | 1 answer | 0

1

answer

Question


Imbedding interactive 3D plots into a website
Hi everyone. I recently started getting into building websites using Django in Python. But I was wondering if there is a way to ...

ongeveer een maand ago | 1 answer | 0

1

answer

Question


How do I put spaces before a line in a txt file using strcat and fprintf?
How do I put spaces before a line in a txt file using strcat and fprintf? When I go in MATLAB and try to print ' 1,2,3' in ...

ongeveer een maand ago | 2 answers | 0

2

answers

Question


Writing txt files accurately with a restriction on the number of columns.
Okay. So I am having kind of a weird problem. I am trying to write a bunch of txt files where I have some vectors (arrays) and I...

ongeveer een maand ago | 3 answers | 0

3

answers

Question


How can I make my code faster?
Hey guys. So I have this code here for kk = 1:37 for lag = 1:50000 if(lag == 1) else ...

ongeveer 2 maanden ago | 0 answers | 0

0

answers

Question


Is there a built-in function to push my vector
So lets say I have a vector that is 1 by 7 elements. I am trying to find a built-in function or write one where it can push the ...

ongeveer 2 maanden ago | 1 answer | 0

1

answer

Question


How to repeat a vector over and over?
I have a vector with a length of 1023 elements (1 by 1023 elements). I want this vector to be 1 by 50000, in other words, change...

ongeveer 2 maanden ago | 3 answers | 0

3

answers

Question


How to use ODE45 for a coupled system of differential equations at a specific time point
Hey everyone. I have been using ode45 for a while and it was smooth for me. However, I am having trouble doing it for this syste...

ongeveer 2 maanden ago | 1 answer | 0

1

answer

Question


How can I integrate this function?
Hey guys, I have this function here: where is the modified Bessel function of the first kind of order K-1. I want to integrate...

ongeveer 2 maanden ago | 2 answers | 0

2

answers

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

2 maanden ago | 1 answer | 0

1

answer

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

2 maanden ago | 2 answers | 0

2

answers

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

4 maanden ago | 1 answer | 0

1

answer

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

4 maanden ago | 1 answer | 0

1

answer

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

4 maanden ago | 1 answer | 0

1

answer

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

4 maanden ago | 1 answer | 0

1

answer

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

4 maanden ago | 2 answers | 0

2

answers

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

4 maanden ago | 1 answer | 0

1

answer

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

4 maanden ago | 1 answer | 0

1

answer

Question


Using Simulink from .m file
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...

4 maanden ago | 1 answer | 0

1

answer

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

5 maanden ago | 1 answer | 0

1

answer

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

5 maanden ago | 0

| accepted

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

5 maanden ago | 3 answers | 0

3

answers

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

6 maanden ago | 1 answer | 0

1

answer

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

6 maanden ago | 1 answer | 0

1

answer

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

6 maanden ago | 1 answer | 0

1

answer

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

6 maanden ago | 0 answers | 0

0

answers

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

8 maanden ago | 1 answer | 0

1

answer

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

9 maanden ago | 1 answer | 0

1

answer

Load more