Question: MATLAB coding question... Please provide a MATLAB code that accomplishes tasks (a)-(d) and consider the listed bullet point. (also see attached to see what i

MATLAB coding question...
Please provide a MATLAB code that accomplishes tasks (a)-(d) and consider the listed bullet point.
(also see attached to see what i have so far)
Thanks and will definitely rate.
MATLAB coding question...Please provide a MATLAB code that accomplishes tasks (a)-(d) and
consider the listed bullet point. (also see attached to see what i

A tessellation of a lattice-based unit cell constitutes an architected material for which we can measure effective architected-material properties legatiffness, strength). Here we investigate the effective uniaxial Figure 1 tilfiness of the simple-cubic (Sc), body-centered Cubie bees, and face-centered-cubic (lee) unit cells shown (a) (b) (c) Figure 1: Unit cell geometries: (1) simple-cubic (so); (b) body-contorod-cubic (bce); and () face-centered- cubic (for) Write a Matlab code that: (s) prompts the user to select either the bou or Ice unit coll to be combined with the sc unit cell; (b) reads the nodal coordinate, bar connectivity, and stiffness data for them and user-selected (bcc or ce) unit cell: (c) plots the combined unit cell as a set of spheres of radius 0.05 for the nodes and a set of cylinders of radius 0.05 for the bars, with so plotted in red (RGB = 1228/255, 26/255, 28/255]), boc plotted in blue (RGB = (55/255, 126/255, 181/256)), and loc plotted in groon (RGB - (77/255, 175/255, 74/255); (d) plots a 3D surface of the combined unit cell stiffness (on the maxis) as a function of density (volume fraction of the se unit cell (on the x-axis) and density of the user-selected (boc or fee) unit cell con the y-axis). In developing your code, please consider the following: Write a single script file, Script.Combined UnitCells.m, to execute (a)-(d) above, calling various function files as needed. When prompting the user for input, be sure to display an error message and re-prompt them if their input is invalid. can be called to read any of the provided data files. Le in functions Inputs clear; close all; clc; %%-- color = [228/255 26/255 28/255; %red 55/255 126/255 184/255; %blue 77/255, 175/255, 74/255); %green color = reshape(color, (3,1,3]); Load sc data 1876 % fget1 % sscanf % readcell (?) Prompt for bcc or fco % ask user for inputs % will need str = input (prompt, 's') % error check %% -Load date for second unit % fgetl % sscanf % readcell %% Plot geometry Plot stiffness

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!