# Ali Almakhmari

**Statistics**

RANK**13,673**

of 289,588

REPUTATION**3**

CONTRIBUTIONS

**99** Questions

**2** Answers

ANSWER ACCEPTANCE **
76.77%
**

VOTES RECEIVED**3**

RANK

of 19,562

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 143,967

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How do I find the most stable N consecutive numbers?

If I have a vector that has 2500 numbers. How can I find the most stable 50 consecutive numbers? By stable I mean 50 numbers tha...

2 months ago | 2 answers | 0

### 2

answersQuestion

How to reduce my sample rate of data

Just to clarify I dont want to interpolate my data to reduce the sample, I would like to simply reduce it by picking out consecu...

3 months ago | 2 answers | 0

### 2

answersQuestion

How to convert symbolic transfer function to state space?

I have this transfer function: where alpha, beta1, and beta2 are unknown constants. I want to convert this to a state space in M...

5 months ago | 3 answers | 1

### 3

answersQuestion

Solving a complex system of differential equations

I have a this differential equation system: , where F is a function of time (t). But I am not sure whats the easiest way to solv...

5 months ago | 1 answer | 0

### 1

answerQuestion

How to use MATLAB to complete the rank of a matrix?

I have this matrix here: Wc=[0 0.285714285714286 0 0.918367346938775 0 9.83965014577259 0.285714285714286 0 0.918367346938775 ...

5 months ago | 1 answer | 0

### 1

answerQuestion

Root Locus from equation?

I have this equation: syms s u eqn = 1472.*s.^4 - 99.2.*s.^3 -256.*s.^2.*u.^2 + 1393.*s.^2 + 2.4.*s.*u.^2 - 25.*s -24.*u.^2 +...

5 months ago | 1 answer | 0

### 1

answerQuestion

How to automate/solve this process in MATLAB

Lets say that I have this equation in MATLAB: . I am trying to determine at what value of u will the equation yield complex solu...

6 months ago | 1 answer | 0

### 1

answerQuestion

Help in integration in MATLAB?

syms w L = (5.*(i.*w).^5 - 170.*(i.*w).^3 + 1125.*(i.*w))./(5.*(i.*w).^7 + 7.5.*(i.*w).^6 - 170.*(i.*w).^5 - 255.*(i.*w).^4 + 1...

6 months ago | 1 answer | 0

### 1

answerQuestion

Can I calculate the settling time in MATLAB?

I have many closed loop transfer functions that are in similar form to this one: I want to calculate the settling time up u...

6 months ago | 1 answer | 0

### 1

answerQuestion

Assisted Simplification with other equations?

I want to simplify an equation knowing certain other information. My equation is this: syms b Q e gamma K_phi eta K_theta ao CL...

6 months ago | 2 answers | 0

### 2

answersQuestion

How to tune matrices to specific output?

Hey guys. So I have four matrices that are each 8 by 8: matrix P, matrix Q, matrix R, and matrix G. I have a certain algorithm (...

7 months ago | 1 answer | 0

### 1

answerQuestion

How to solve this equation?

I have this equation: is a complex number. I want to use MATLAB to figure out what critical value of that causes this equa...

7 months ago | 2 answers | 2

### 2

answersQuestion

How to replace a line in a text file?

How can I use fprintf to write a sentence/string in a text file on a specific line in the text file?

7 months ago | 1 answer | 0

### 1

answerQuestion

Frequency response from a transfer function?

I have the following transfer function: And I want to plot its frequency response but I am not sure how to do it. I hope so...

7 months ago | 2 answers | 0

### 2

answersQuestion

How to simulate the forced response of a transfer function

I have a transfer function G(s) = (1-s)/(s^2 + 2s+ 1) that I want to simulate while being under a forced input of u(t) = 2*cos(3...

7 months ago | 2 answers | 0

### 2

answersQuestion

Argument to dynamic structure reference must evaluate to a valid field name???

I know there are multiple posts about this error but unfortuantely none of them were in my context. Which is: I trained a neura...

7 months ago | 0 answers | 0

### 0

answersQuestion

How to evaluate a matrix of commands

Hello guys. I have an array of commands that has 350 commands (a 350 by 1 array) in string format. Each command in the array whe...

7 months ago | 1 answer | 0

### 1

answerQuestion

How to determine stability of transfer function from Nyquist?

Hello guys. I have hundreds of transfer functions that I am asked to determine if they are stable or not using the Nyquist crite...

7 months ago | 1 answer | 0

### 1

answerQuestion

How can I simplify the symbolic expressions?

I hate the fact that solve keeps outputting symbolic expressions with extremely large numbers, when clearly it can simplify furt...

7 months ago | 1 answer | 0

### 1

answerQuestion

How can I get the indxes from a logical vector?

Hi guys, I feel like my question is silly and has a straightforward answer, but I am ashamed to say that I have been at it for t...

7 months ago | 1 answer | 0

### 1

answerQuestion

How can I solve for specific complex solutions?

Hey guys, so I have the following expression: syms ue ye = (5/(6*(((225*ue^2)/16 - 125/216)^(1/2) - (15*ue)/4)^(1/3)) + (((225...

7 months ago | 2 answers | 0

### 2

answersQuestion

Why doesnt the neural network just give me the fitting function as an output?

When I am training a neural network to fit a bunch of data. Why doesn't the Neural Network just give me the function (equation(s...

8 months ago | 1 answer | 0

### 1

answerQuestion

Data Division of Neural Network training?

I have a 2000000 by 7 matrix where the first 6 volumns are inputs and the last column is the output. So I am training a neural n...

8 months ago | 1 answer | 0

### 1

answerQuestion

Can you provide me suggestions/critique my approach to this Neural Network fitting?

I am hopping I can get some constructive suggestions on how to improve my code or if you guys think there is a better way to app...

8 months ago | 1 answer | 0

### 1

answerQuestion

Writing cells into a .dat file?

I have a .mat file that looks like this: A movement in the row-driection (down) means a new line in the .dat file and a mov...

8 months ago | 1 answer | 0

### 1

answerQuestion

Neural Network statistics?

While the neural network is training using the train command, at each Epoch, the Gradient and Performance change. I want to save...

8 months ago | 1 answer | 0

### 1

answerQuestion

How can I save Neural Network Statsitics?

Hello guys. I am trying to write few lines of a MATLAB script to save my Neural Network (ANN) stasitics. I usually create and tr...

8 months ago | 1 answer | 0

### 1

answerQuestion

Nested parfor effecting fprintf?

Hey guys. I have a gigantic while loop, and inside of it, I have multiple for loops. One of those for loops is a parfor. Now my ...

8 months ago | 1 answer | 0

### 1

answerQuestion

My code is slower on a more powerful machine?

Hey guys, I ran my code on my Windows 10 machine that has 8 cores of CPU and 16 GB of RAM on MATLAB 2022b. And then ran the same...

9 months ago | 1 answer | 0

### 1

answerQuestion

How to estimate how long the inversion process will take?

Okay, so below you can find my code. What I am trying to do is basically solve for H(s), which are the transfer functions for th...

9 months ago | 2 answers | 0