# Ali Almakhmari

Last seen: Today Active since 2020

Followers: 0   Following: 0

#### Feeds

View by

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

5 maanden ago | 2 answers | 0

### 2

Question

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

6 maanden ago | 2 answers | 0

### 2

Question

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

8 maanden ago | 3 answers | 1

### 3

Question

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

8 maanden ago | 1 answer | 0

### 1

Question

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

8 maanden ago | 1 answer | 0

### 1

Question

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

9 maanden ago | 1 answer | 0

### 1

Question

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

9 maanden ago | 1 answer | 0

### 1

Question

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

9 maanden ago | 1 answer | 0

### 1

Question

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

9 maanden ago | 1 answer | 0

### 1

Question

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

9 maanden ago | 2 answers | 0

### 2

Question

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

10 maanden ago | 1 answer | 0

### 1

Question

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

10 maanden ago | 2 answers | 2

### 2

Question

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?

10 maanden ago | 1 answer | 0

### 1

Question

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

10 maanden ago | 2 answers | 0

### 2

Question

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

10 maanden ago | 2 answers | 0

### 2

Question

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

10 maanden ago | 0 answers | 0

### 0

Question

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

10 maanden ago | 1 answer | 0

### 1

Question

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

10 maanden ago | 1 answer | 0

### 1

Question

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

10 maanden ago | 1 answer | 0

### 1

Question

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

10 maanden ago | 1 answer | 0

### 1

Question

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

10 maanden ago | 2 answers | 0

### 2

Question

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

11 maanden ago | 1 answer | 0

### 1

Question

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

11 maanden ago | 1 answer | 0

### 1

Question

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

11 maanden ago | 1 answer | 0

### 1

Question

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

11 maanden ago | 1 answer | 0

### 1

Question

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

11 maanden ago | 1 answer | 0

### 1

Question

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

12 maanden ago | 1 answer | 0

### 1

Question

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

12 maanden ago | 1 answer | 0

### 1

Question

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

12 maanden ago | 1 answer | 0

### 1

Question

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

12 maanden ago | 2 answers | 0