Question


command strategy for converting the following multi table text file into matlab array
Hello , I have the following attached file. i need to create in the most effiecient code way. i have a table i need to skip tw...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


problem representing a shape using several spectral elements in IFFT
Hello ,i have a step function described by the following code. i have tried to represent the shape using ifft by 8 elements. ...

plus de 2 ans il y a | 1 réponse | 0

0

réponse

Question


how to find specific variable values for solving equation system
Hello,i have the following equation system. is there a way in matlab to find P1..P6 values so pr(2)=pr(1)+5 pr(3)=pr(2)+5 e...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


adding constaints to fmincon code
hello,i have wrote the following code for optimization. how do i add the following constraints that my fmincon will run so tha...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


use of optimization constraint mask in matlab fmincon or similar
Hello, I know that fmincon uses expressions for describing constraints . but i want my optimization function to use a value ma...

presque 3 ans il y a | 1 réponse | 0

0

réponse

Question


app designer painting circles and arrows
Hello, i am trying to build an app with lots of fields. but i want to circle some of them. and put arrows between fields, is ...

presque 3 ans il y a | 1 réponse | 0

0

réponse

Question


matlab app screen too large
hello when i build an app with lots of fields and i expand the screen app to the bottom side, when i press play i get my applica...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


using external matlab file in app
Hello, i have external file as shown bellow and i created a simple app as shown bellow. how to display y(1) and x(1) when i pu...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


using external matlab file variables in app desighner
Hello , I have written matlab code in *.M matlab file. this matlab code has many variables and expressions. i want to use this...

presque 3 ans il y a | 2 réponses | 0

2

réponses

Question


why my code gives different result then the formula
Hello,I have triedto implent the formula shown bellow in matlab to create the plot shown bellow. but when i implemented the for...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


problem accessing array of imported CSV file
Hello, after importing CSV file i have a variable 1D array called col but when i try to accsess it in different forms as shown...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


what is the FFT logic in calculating far field defraction matlab implemetation
Hello,there is an expression shown bellow that we need to plot in 2D grid plot as shown bellow. X and Y are 2D matrices going fr...

plus de 3 ans il y a | 1 réponse | 0

0

réponse

Question


how to understand .sc .mat in matlab
Hello,i cant see the logic of these two lines taken from the full code shown bellow. i know that its some how plotting an area...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


understanding "<" operator line
Hello,I cant understand a line of the line bellow taken from the code bellow. I think i generates a circle but i cant see how ....

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


generating noisy data to play with in DSP
Hello,is there a way in matlab to create a signal put a high frequency noise on it and take samples from it to play with DSP FIR...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

environ 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

environ 4 ans il y a | 2 réponses | 0

2

réponses

Question


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

environ 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

environ 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


coverting string to ascii value in Matlab
Hello the letter 'a' is 61 why in matlab i get NAN?

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 4 ans il y a | 1 réponse | 0

1

réponse

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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Charger plus