Question

MATLAB only. Dont change subject, if you dont know leave it Give me a matlab code...

MATLAB only. Dont change subject, if you dont know leave it

Give me a matlab code which takes input mass , stiffness and damping from user

the code will calculate natural frequency and the damping ratio

use matlab dont give wrong or i will dislike badly

Homework Answers

Answer #1

clc;clear all
m=input('Enter the mass: '); %%user enters the mass
k=input('\nEnter the stiffness'); %%user enters stiffness
c=input('\nEnter the damping'); %%user enters damping
omegan=sqrt(k/m) %%computes the natural frequency
zeta=0.5*c/sqrt(k*m) %%computes the damping ratio

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
MATLAB question and do not change subject. if you dont know skip I need a working...
MATLAB question and do not change subject. if you dont know skip I need a working MATLAB code which will tell me the type of damping which is present in the system. there are 3 types of damping . use if else and give the result. take mass stiffness damping coefficient as input. Dont post wrong answer of i will badly dislike
MATLAB question dont change subject Give the matlab code for the following, i need to find...
MATLAB question dont change subject Give the matlab code for the following, i need to find the critical damping coefficient of a system User will enter mass and stiffness and the code will print the critical damping coefficient Give working code or else i will badly downvote
MATLAB , dont change the subject Give me a MATLAB code for obtaining principal stress from...
MATLAB , dont change the subject Give me a MATLAB code for obtaining principal stress from a given tensor of stress which is input by the user. Take input from user Use tensor method to obtain stress Give only correct code and if ans is wrong slightly it will be downvoted badly
MATLAB only. Computer science, do not change subject This is matlab question. Give me a working...
MATLAB only. Computer science, do not change subject This is matlab question. Give me a working code for cramers rule the function must accept and AUGMENTED matrix and then solve if the function you give will not accept augmented matrix i will badly dislike it Answer only correctly. take test cases to find output and match
This is to be answered on MATLAB . do not change subject take a stress tensor...
This is to be answered on MATLAB . do not change subject take a stress tensor as input from the user (2D). Write the matlab code which will give me the maximum shear stress arising. Give a working code only
Problem 3 you can use Matlab and also i give u the Problem 1 code its...
Problem 3 you can use Matlab and also i give u the Problem 1 code its on Matlab Using the same initial code fragment as in Problem 1, add code that calculates and plays y (n)=h(n)?x (n) where h(n) is the impulse response of an IIR bandpass filter with band edge frequencies 750 Hz and 850 Hz and based on a 4th order Butterworth prototype. Name your program p3.sce this is the Problem 1 code and the solutin clear; clc;...
please if you dont know what CPT dont answer case study Preoperative and postoperative diagnosis: Left...
please if you dont know what CPT dont answer case study Preoperative and postoperative diagnosis: Left knee arthrosis Procedure: Arthroscopy and debridement The patient was prepped and brought into the operating room, where general anesthesia was administered. The knee was prepped, and a video arthroscopy was performed using the anterolateral and anteromedial portals. The scope confirmed the diagnosis. In the medial compartment, the degenerative meniscus was debrided with a shaver. The large osteophytes were removed with a bur. After removal,...
In this problem you will use the cursor tracker code from the previous homework assignment to...
In this problem you will use the cursor tracker code from the previous homework assignment to measure frequency responses to various sinusoidal inputs and then generate a Bode plot. Use the Matlab file track cursor.m provided on Blackboard for a proportional controller with K = 0.1. After the tracker equilibrates, generate a sinusoidal input by moving the cursor back and forth and determine the gain and phase. The gain is the ratio of the amplitude of the output sinusoid over...
I did already posted this question before, I did get the answer but i am not...
I did already posted this question before, I did get the answer but i am not satisfied with the answer i did the code as a solution not the description as my solution, so i am reposting this question again. Please send me the code as my solution not the description In this project, build a simple Unix shell. The shell is the heart of the command-line interface, and thus is central to the Unix/C programming environment. Mastering use of...
Performance Evaluation Who are you? You are a team leader at Anders Consulting, a small but...
Performance Evaluation Who are you? You are a team leader at Anders Consulting, a small but growing strategy consulting firm in Atlanta. For a little over three months, you have been supervising a team of junior-level management consultants, who just finished developing a strategic plan with a division of RGP Financial Services. What's the current situation? The work you have supervised has involved a variety of research, interviewing, writing, and speaking activities. Part of your job as team leader is...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT