Question

how to check if two symbolic fractions are the same?
I have two fractions that have so many symbolic variables and are too complicated, but are in different forms. How can I check i...

ungefär ett år ago | 2 answers | 0

### 2

Question

Accessing huge matrix of symfun?
I have this H.mat file with an H variable that is of type symfun. Its supposed to be a matrix with symbolic variables: syms s ...

ungefär ett år ago | 0 answers | 0

### 0

Question

How to convert state space to transfer function
I have the following state space: Where x is 12 by 1, A is 12 by 12, B is 12 by 3, w is 12 by 1, y is 6 by 1, H is 6 by 1...

ungefär ett år ago | 1 answer | 1

### 1

Question

ss2tf taking too long
Hi everyone. I am trying to come up with the transfer functions for a very complicated state space representation where the A ma...

ungefär ett år ago | 1 answer | 0

### 1

Question

How to call a symbolic function from a Simulink's MATLAB Function block?
So I have this complicated interpolating symbolic function that is in my workspace that I am trying to call from my Simulink mod...

ungefär ett år ago | 1 answer | 0

### 1

Question

N-D Look up Tables
I have been at this for hours and I feel stupid. I keep getting the error: the number of diemsnions is 1, but the block paramete...

ungefär ett år ago | 1 answer | 0

### 1

How to simulate a neural network in Simulink?
For anyone wondering in the future how to do this, the gensim command is your answer: https://www.mathworks.com/help/deeplearnin...

ungefär ett år ago | 0

| accepted

Question

How to simulate a neural network in Simulink?
Hello guys. I have a neural network (ANN) that I trained. I can simulate it just fine by using the following command in a MATLAB...

ungefär ett år ago | 1 answer | 0

### 1

Question

Can I resume training a neural network with a different data set?
Table=AM03_a02b; Matrix=Table{:,:}; Input=Matrix(1:end,1:7); Output=Matrix(1:end,8:15)'; ANN=newff(Input,Output,[100 100 1...

ungefär ett år ago | 1 answer | 0

### 1

Question

How do I perform state linear interpolation?
Hi everyone. I would like to perform state linear interpolation. In other words, I have a gigantic table that has 14 columns (an...

ungefär ett år ago | 1 answer | 0

### 1

Question

Good vs Bad Neural Network Training?
Hey guys, I have a pretty gigantic table...about 2.3 million rows and 14 columns. 6 columns are inputs and 8 columns are outputs...

ungefär ett år ago | 1 answer | 0

### 1

Question

How to know if there is a copy/paste process?
I want to write few lines of code to identify if there is a copy or paste process that is currently running on my Windows 10 com...

ungefär ett år ago | 0 answers | 0

### 0

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

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 2 answers | 0

### 2

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

mer än ett år ago | 3 answers | 0

### 3

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

mer än ett år ago | 0 answers | 0

### 0

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

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 3 answers | 0

### 3

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

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 2 answers | 0

### 2

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

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 2 answers | 0

### 2

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

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 1 answer | 0