Question

How to catch UART Live data in Matlab

I have built a mechanism for sending the letter 'O' every few seconds. After that I catch the recieved Data with fgets in MATLAB...

6 days ago | 0 answers | 0

Question

Live data recieving as alternative to fgets command

Hello,i am using fgets command to manually get what was recieved from UART i get a result after 10 seconds is there a way in ma...

7 days ago | 0 answers | 0

Question

matlab UART communication with FTDI c232HD cable problem

Hello ,before coding in Matlab i tried to test the connection with the UART cable with COMM software In the device manager it s...

1 month ago | 0 answers | 0

Question

Matlab simulink components not conecting problem

Hello , I tried to connect those three components together the resistor is from powerlib/Elements/Series RLC Branch. The Opamp...

2 months ago | 0 answers | 0

Question

simscape noise on scope display

Hello , i have tried to display my DC with noise signal into a scope using PS-simulink converter but as you can see bellow. its...

2 months ago | 0 answers | 0

Question

noise voltage source in simulink

Hello, from the manual shown bellow i have tried to look for the Vn component where i could get the following menu of noise volt...

2 months ago | 0 answers | 0

Question

resistor with random variable number not working

Hello i have many simulink blocksets, i have tried to put rf blockset in order to build a ressistor with random value in it as ...

2 months ago | 1 answer | 0

Question

ressistors with small random offset in SIMULINK

Hello , I want to have 10 resistors with a littles offset in resistance by random number arounk 1kohm i have itried to use matl...

2 months ago | 2 answers | 0

Question

debugging within built in matlab function

Hello , I want to see how my data being proccessed with polyfit function given my input vectors. breaking point can only be put...

3 months ago | 1 answer | 0

Question

interp1 function error

Hello i have made an interpolation of a descrete CSV file which is attached and turned it into continues function using interp1....

3 months ago | 1 answer | 0

Question

regular function integration failure

Hello, i have two functions .The first called "fun" (purple in the plot) is integrated great and i get a precise result of 43 fr...

3 months ago | 1 answer | 0

Question

multiplication of functions integration problem

Hello,i have two functions "fun" and "coef_fun" "coef_fun" was created with interpolation of the attached CSV and it looks lik...

3 months ago | 1 answer | 0

Question

unique function usage at interp1 interpolation

Hello, i have imported 2D data from the attached CSV as x_data and y_data. i have used interp1 function as shown bellow to inte...

3 months ago | 2 answers | 0

Question

integral with vectoric varying coeficient

Hello , i have a basic function exp(-x.^2).*log(x).^2 which i integrate in a certain interval. i want to multiply my basic f...

3 months ago | 2 answers | 0

Question

for loop of vector

Hello, i have a function shown bellow called fun, i want to sample it in a 10.^-6 - 20*10.^-6 interval with 1000 samples as sho...

3 months ago | 1 answer | 0

Question

rftoobox gain stability plots on smithchart

Hello, i have the following S2P file shown bellow,i found realy not enough examples for implementing rftoolbox avalible gain cir...

3 months ago | 0 answers | 0

Question

creating continues ZOH plot from samples using sinc

Hello, i have an array of dots called y_in created by the code bellow. How using sinc function we create a continues signal of ...

3 months ago | 0 answers | 0

Question

error plotting smithchart by MATLAB manual

Hello i am trying to follow the steps in this manual https://www.mathworks.com/help/rf/examples/designing-matching-networks-par...

4 months ago | 0 answers | 0

Question

touchstone file could not be processed in matlab

Hello , I have created a touchstone in cadence virtuoso of two port system(i have renamed it in txt so i could upload it here) b...

4 months ago | 1 answer | 0

Question

converting csv file into s2p

Hello , I have a csv file representing s11 s21 s12 s22 S-param's i have extracted from cadence virtuoso simulator. each s-param...

4 months ago | 0 answers | 0

Question

avarage running time problem

Hello, i want to calculte an avarage running time amongst all 100 iterations. for some reason my avarage running time is astr...

4 months ago | 1 answer | 0

Question

loosing precision extremely in fraction expression

Hello i have a two numbers (D1 D2) which are extremly close to each other very close,but when iput them into the formula shown b...

4 months ago | 1 answer | 0

Question

matlab code pc independant runtime question

Hello, i have a matlab code,each PC has a different computation power,even using Matlabs tic toc we get the time code ran given ...

4 months ago | 0 answers | 0

Question

loop causes enlargement of array

Hello, my theta vector 2X1 two values needs to be updated each itteration. instead i get theta to be size 1000 (as the number o...

4 months ago | 1 answer | 0

Question

python to matlab [1,x] form question

Hello ,there is a trick in python to turn every matrices of NX2 into an NX2 matrices where the first column is all '1' as shown...

4 months ago | 1 answer | 0

Question

matlabs polyfit not working correctly problem

Hello, i have a vector called "mean_vec" which consists of 81 values of " -0.1175 -0.1181 "-0.1175 -0.1194 -0.1197 ...

4 months ago | 1 answer | 0

Question

regress function itterations number

Hello, is there a way to know hoe namy itterations regress function made to reach its oprimal solution? Thanks.

4 months ago | 0 answers | 0

Question

zero padding between data

Hello, i have a vector shown bellow, how do i insert two zeros in between every bumber as shown bellow. Thanks. a=[1,2,3,4] a...

4 months ago | 1 answer | 0

Question

aliasing in frequency domain problem

Hello ,i am trying to show frequency domain transform of 3 sinuos signal.I samples it twice the frequency of the highest frequen...

4 months ago | 1 answer | 0

Question

polar reflection coefficient to impedance gamma2z question

Hello, how do i input the polar reflection coefficient shown bellow into gamma2z with z0=50? Thanks

4 months ago | 0 answers | 0