Saturday, September 25, 2021
Linear Signals and System, matrix operation fundamentals. This example illustrates a techniques called vectorization. Algorithm vectorization uses matrix and vector operations to avoid manual repetition and loop structures. With simultaneous creation of curves one can maximize the use of matrix applications.
The result here is a 201 x 11 matrix with identical columns.
%% Matrix Operations - Family of Curves
r = [1 0 0]
A = [2 3;4 5;0 6]
c = r' B = [c A]
A = [1 -2 3;-sqrt(3) 1 -sqrt(5);3 -sqrt(7) 1];
y = [1;pi;exp(1)];
x = inv(A)*y x1 = det([y,A(:,2:3)])/det(A) alpha = (0:10);
t = (0:0.001:0.2)';
T = t*ones(1,11);
H = exp(-T*diag(alpha)).*sin(2*pi*10*T+pi/6);
plot(t,H); xlabel('t'); ylabel('h(t)');
[R,P,K] = residue(B,A)
[R,P,K] = residue([1 0 0 0 0 pi],[1 -sqrt(8) 0 sqrt(32) -4]);
Try this code out to graph this figure! Modify freely and comment on this post if it helps. Thanks for reading.
Sunday, May 26, 2019
Written by Larsha JohnsonDo you want to use your iPhone or iPad to collect data from built in sensors such as acceleration, angular velocity, orientation, magnetic field, and GPS?
In this blog I will explain how to use MATLAB to collect data and log it.
First you will need access to MATLAB. Next, download the Mobile MATLAB app via Apple Store. From your lab top you will need to download the add-on 'MATLAB Support Package for Apple iOS Sensors'.
Once all downloads have been made, open the mobile app and press the icon at the bottom right labeled 'More'. There you will see the Sensors option. Press it. This opens the menu for five (5) different built-in sensors. To begin, turn on one or more sensors. After the selection has been made, you can stream to MATLAB or log the data.
Next, press the start button to collect data from your iOS device. *Before getting started you can change the frequency. If you chose to log the data, access the new file by pressing the icon to the right of the start button. See screenshots below.
Shared Folder - My iOS MobileSensorData
Look for more tech blogs like this. Simulink on Apple iOS Devices. Feel free to email me for questions.
Automate your Multisim design in LabVIEW Written by: Larsha Johnson Date: October 24th, 2021 If you like designing electronic circuits in M...