Question: a) Write a Matlab script to call the two functions described in parts b) and c) below. Your script must erase all workspace variables, clear

 a) Write a Matlab script to call the two functions described

a) Write a Matlab script to call the two functions described in parts b) and c) below. Your script must erase all workspace variables, clear the command screen, and close any plot figures. Your script creates the inputs for the function described in part b) below. In particular, the input vector r is to be linearly spaced with N = 10^5 points between 1 times 10^-2 lessthanorequalto r lessthanorequalto 1 times 10^0 (meters). b) Write a Matlab function with the filename: coulomb_force.m where: Inputs: r a row vector of strictly increasing positive values (meters), i.e. r(1)

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!