Using Matlab Write Script Reads Files Created Given Script 37 Files Names Like Stores File Q37106398

Using MATLAB write a script that reads all files created withgiven script (37 files with names like) and stores all those fileinformation in a single “struct array” namedp.

%% clear memory and screen
clear
clc
%% introduction to structs
% S.a = 12;
% S.b = 24;
%
% S.age = 82;
% S.gender = ‘male’;
% S.address = ‘4 abc st’;
% S.datesofparkingviolations = [20190415, 20190320];
%
% S(2) = S(1);
% S (2).gender = ‘female’;
% S (2).age = 92;
%% writing a scientific script
% x = 6;
% y = 9;
% z = sqrt(x.^2+y.^2);
% s = sin(atan(y/x));
% c = cos(atan(y/x));
% save(‘point2.mat’)

%% loading point1.mat
% point(1) = load(‘point1.mat’);
% point(2) = load(‘point2.mat’);

%% %% this segment creates individual

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.