質問

Matlab script saving mouse click location

Hello,I have started using this type of scripting to control mouse clicking automatickly. I want to mouse click on some locatio...

約2年 前 | 0 件の回答 | 0

質問

creating array of strings from recieved data

Hello,my serial Comm sends over and over abcd/n which in matlab abcd i wanted to create and array of abcd strings as shown bell...

2年以上 前 | 1 件の回答 | 0

質問

standart slicing not working on my vector

Hello i Have the following code: val=fscanf(ser); var_hex=dec2hex(uint8(val)) y = reshape(var_hex.', 1, []) which gives me...

2年以上 前 | 0 件の回答 | 0

質問

weird behavior of matlab serial communication protocol

If is send it 1F 2F 3F FF \n in endless loop (I defined LF to be the terminator) then it sends shows me the a huge block of dat...

2年以上 前 | 0 件の回答 | 0

質問

sticking together 4 hex bytes question

Hello I have four DECIMAL numer for example 31(1F) 47(2F) 63(3F) FF(255) how using those decimal numbers i get a HEX number of ...

2年以上 前 | 2 件の回答 | 0

質問

LF terminator stops working when sending data

Hello,I have defined the port as following sObject=serial('COM4','BaudRate',115200,'TimeOut',1,'Terminator','LF') sObject.Byte...

2年以上 前 | 0 件の回答 | 0

質問

fscanf of live stream question

Hello I have written the following code for counting how much '\n' chars we have so far. i assume fscanf holds the char recieve...

2年以上 前 | 0 件の回答 | 0

質問

serial communication shows huge batch istead of steady small bursts

Hello i am sending threw my microcontroller to MATALB 4 uint8_t variables 0x2F,0x06,0x8F,0x3F and for signalling the end of th...

2年以上 前 | 1 件の回答 | 0

質問

coverting string to ascii value in Matlab

Hello the letter 'a' is 61 why in matlab i get NAN?

2年以上 前 | 1 件の回答 | 0

質問

Matlab having problem interpreting streamed string into numbers.

Hello , i am sending 0x61 over and over which is the letter 'a' to matlab as shown bellow. But when i want to convert the recie...

2年以上 前 | 1 件の回答 | 0

質問

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

2年以上 前 | 0 件の回答 | 0

質問

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

2年以上 前 | 0 件の回答 | 0

質問

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

2年以上 前 | 0 件の回答 | 0

質問

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

3年弱 前 | 0 件の回答 | 0

質問

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

3年弱 前 | 0 件の回答 | 0

質問

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

3年弱 前 | 1 件の回答 | 0

質問

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

3年弱 前 | 1 件の回答 | 0

質問

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

3年弱 前 | 2 件の回答 | 0

質問

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年弱 前 | 1 件の回答 | 0

質問

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年弱 前 | 1 件の回答 | 0

質問

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年弱 前 | 1 件の回答 | 0

質問

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年弱 前 | 1 件の回答 | 0

質問

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年弱 前 | 2 件の回答 | 0

質問

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年弱 前 | 2 件の回答 | 0

質問

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年弱 前 | 1 件の回答 | 0

質問

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年弱 前 | 0 件の回答 | 0

質問

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年弱 前 | 0 件の回答 | 0

質問

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

3年弱 前 | 0 件の回答 | 0

質問

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

3年弱 前 | 1 件の回答 | 0

質問

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

3年弱 前 | 0 件の回答 | 1