# MATLAB

61 results

**Numerical Analysis MATLAB**

Using MATLAB to sketch the graph of f(x)=x^3 - x^2 + 1, x, [-pi,pi] Which code can we use

**MatLab**

In Matlab Write a function file that determines the following sum (for all odd n from 1 to 11): y=Ó 2^n/n

**Math**

Hi I have optimization Qs with MATLAB can you help me and did you know about MATLAB cheers

**science**

I did a physics experiment and now i need help with the matlab fit. can someone tell me how to do this fit in matlab? a1*[sin(a2(x-a3))/(a2(x-a3)]^2*[cos(a4(x-a3))]^2 i have a program that fits a graph to a function i just ask how to write this function.

**Physics**

Hello! can someone help me how to solve this problem in MATLAB? SHAFT SUBJECTED TO SINUSOIDAL DISTRIBUTED TORQUE Circular shaft AB has length 3L and is supported by a wall at A, where x=0, and free to rotate at B, where x=3L. A distributed torque per unit length T(x) = t_0*cos...

**Math**

Hello! can someone help me how to solve this problem in MATLAB? SHAFT SUBJECTED TO SINUSOIDAL DISTRIBUTED TORQUE Circular shaft AB has length 3L and is supported by a wall at A, where x=0, and free to rotate at B, where x=3L. A distributed torque per unit length T(x) = t_0*cos...

**MATLAB**

A load W=2 kN is applied vertically to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A, E . We start with the classification of the degrees of freedom as "free" or "constrained". From...

**Engineering**

A perfect coin should produce heads and tails with equal probability. If we assign the number 0 toheads and the number 1 to tails, then we can mimic such a perfect coin in Matlab. Specifically, we cangenerate N “coin flips” in Matlab by doing x= (rand(N, 1) < 0.5 );, ...

**MaTH**

Is anyone good at using matlab

**matlab**

One bank pays 5.5 percent annual interest, while a second bank pays 4.5 percent annual interest. Determine how much longer it will take to accumulate at least $50 000 in the second bank account if you deposit $1000 initially and $1000 at the end of each year. need help writing...

**matlab**

Find the maximum and minimum values of f( x,y)=2x^3+xy^2+5x^2+y^2

**MATLAB for MathMate**

Would you please help Lee with his problem? Sra

**matlab**

how do you write a code that prompts the user for data points that are then put into an array

**Electronic Engineering**

Using MATLAB..How to develop a software tool for analysis of the model distributions of a semiconductor laser diode array..??

**matLab**

Write a function file that determines the value of n2 over the range 1 to n. Plot your data on separate plots in the same window for n=3, 6, 9, and 12.

**MATLAB**

I got another MATLAB question that I seem to be struggling with. Use two separate input statements to prompt a user to enter his or her first and last names. Use the disp function to display those names on one line. (You'll need to combine the names and some spaces into a ...

**Using Matlab**

imagine you have a simple calculator that can only do addition,subtraction,multiplication and division. show how you can still use it to calculate the cube root of a given number, ie a^1/3, as follows: a)show that newton raphsons method for solving the equation x^3 -a=0 ...

**Computer Science - MATLAB**

thanks mathmate. It's way above my head to. I got another question Consider the following two equations: x^2 + y^2 = 42 x + 3y + 2y^2 = 6 Define a symbolic equation for each, and solve it by using MATLAB's symbolic capability. Could you solve these equations by using matrices...

**MATLAB**

Find the value of x (to 2 decimal places) when y is a minimum, using a while loop. Format the answer, e.g., "At x=ii.ii, y=jj.jj is a minimum". Plot the function. y = x^2 - 4x + 2

**Electrostática**

A linear charge lies on the y-z Plane. Find the electric Flux passing throught the Plane extending from 0 to 1.0m I nerd th is problem solve analytical and in matlab

**QUESTION ABOUT JISHKA**

Do you guys have a tutor that specialized in computer science? I would expect that you guys would but I just wanted to make sure. I was wondering if any of the tutors knows the MATLAB programing language?

**Math**

1. Use MATLAB Optimization Tool to solve the following problem: minimize [2x1^2+2x1x2+x2^2-10x1-10x2] subject to [x1^2+x2^2≤500] and [5x1-x2 ≤ -4] . 2. Please hand-check all the Kuhn-Tucker conditions for your answer.

**Laser Diode Array**

I have to develop a softawre tool using MATLAB to calculate the model distributions at each longitudinal position of the cavity of Phased Array Laser Diode.. I don't know how to start..

**programming**

Write a MATLAB program to create and output the touch-tone telephone signals (Dual-Tone, Multi-Frequency, DTMF) for the input numbers 0 through 9 (disregard the * and # symbols). When a user presses a button on a telephone set, a signal is produced that is the sum of two ...

**Computer Science - MATLAB**

Create a stacked contour plot of the MRI data, showing the first, eight, and twelfth layer of the data. An MRI visualization example is shown in the help tutorial. Copy and paste the commands into an M-file and run the example. Be sure to add the clf command before drawing ...

**Computer science**

How to convert from decimal to binary in matlab.....this is what I have so far..... dec = 43; i = 1; sum=0; while dec>0 r = rem(dec, 2); sum=sum+(i*rem); dec=dec/2; i=i*10; end sum

**Thank You MathMate**

Thank you for assisting me with my MATLAB question. If I posted this on the actual question you never would of seen it. What you suggested to do worked and produced the results I was suppose to get. I wanted to say thank you. And a grid_size of 500 seems to produce more stable...

**Computer Science - MATLAB**

In a problem I had to create a animation of the function sin(x-a) were a ranged from 0 to 8pi Code: x=[-2*pi:.00001*pi:2*pi]; a=0; y=sin(x-a); g=plot(x,y); grid on; title('sin(x-0)') set(g,'EraseMode','xor') while a<=8*pi a=a+.1*pi; y=sin(x-a); set(g,'ydata',y) drawnow ...

**Engineering**

A tapered thin-wall circular shaft has constant wall thickness, t, length L, and diameters linearly varying between dA at the support A(x=0) and dB at its free end B(x=L). The shaft is homogeneous with shear modulus G HW6_1A : 20.0 POINTS Obtain a symbolic expression for the ...

**physics**

A load W=2 kN is applied vertically to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A, E . E4_1? All the bars in truss ABC have constant cross section and are made of a homogeneous ...

**mechanical engineering**

A load W=2 kN is applied vertically to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A, E . E4_1? All the bars in truss ABC have constant cross section and are made of a homogeneous ...

**Physics**

A load W=2 kN is applied vertically to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A, E . We start with the classification of the degrees of freedom as "free" or "constrained". From...

**Mechanics**

A load W=2 kN is applied vertically to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A, E . We start with the classification of the degrees of freedom as "free" or "constrained". From...

**Physics**

A load W=2 kN is applied vertically to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A, E . We start with the classification of the degrees of freedom as "free" or "constrained". From...

**PLEASE REPLY**

A load W=2 kN is applied vertically to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A, E . We start with the classification of the degrees of freedom as "free" or "constrained". From...

**SIMONSAY, PLEASE HELP**

A load W=2 kN is applied vertically to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A, E . We start with the classification of the degrees of freedom as "free" or "constrained". From...

**Mechanical Engineering**

A load W=2 kN is applied vertically to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A, E . We start with the classification of the degrees of freedom as "free" or "constrained". From...

**MIT LAB PLEASE HELP**

A load W=2 kN is applied vertically to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A, E . We start with the classification of the degrees of freedom as "free" or "constrained". From...

**physics**

A vertical load W is applied to joint C of truss ABCDE as indicated. You will use the method of joints to obtain the axial forces in the bars and reactions at the supports A and E in terms of the magnitude of the applied load, W. Use MATLAB to find the axial forces in the bar...

**Mechanics/Physics**

HW7_1B_2 : 5.0 POINTS Let's say that a cross section where you have M+max is at location x+max, and the cross section where you have M−max is at location x−max. Use the MATLAB window below to plot the profiles of stress on sections x+max and x−max, i.e. σ...

**MATLAB MATH HELP HELP HELP HELP HELP HELP**

Write three functions, AppEval, AppDeriv and AppInt that approximate the value, the derivative and the integral of an unknown function f for which you are given only some unevenly spaced values. More specifically, the function AppEval has to be written in the file AppEval.m, ...

**MATLAB**

13.2 A quadratic Julia set has the form z(n+1)=z(n)^2+c The special case where c=-.123+.745i is called Douday's rabbit fractal. Follow example 13.1, and create an image using this value of c. For the Madelbrot image, we started with all z-values equal to 0. You'll need to ...

**matlab**

Please help. I've made the variable for in_vector, but I'm having trouble figuring out how to get the vector to return a row vector of num_or_digits of length 10. Write a script that takes a vector of single-digit integers and counts the occurrences of each digit, from 0 to 9...

**Computer Science - MATLAB**

One interesting property of a Fibonacci sequence is that the ratio of the values of adjacent members of the sequence approach a number called “the golden ratio” or PHI. Create a program that accepts the first two numbers of a Fibonacci sequence as a user input and then ...

**Computer Science - MATLAB**

I guess it was skipped One interesting property of a Fibonacci sequence is that the ratio of the values of adjacent members of the sequence approach a number called “the golden ratio” or PHI. Create a program that accepts the first two numbers of a Fibonacci sequence as a ...

**Computer Science (MATLAB)**

Given a vector of values of zeros and ones such as [1 0 1 0 0 0 1 0] I'm asked to, given a probability provided by the user, use that probability to change the values in the vector using that probability. For example given the vector [0 1 0 0 0 1 0 0 0 1] and probability .2 ...

**Computer Science - MATLAB**

Thanks MathMate. Print plotting sounds awful O_O. What you suggested was correct and this code worked disp('Problem 13.9') x=[-2*pi:.00001*pi:2*pi]; a=0; y=sin(x-a); g=plot(x,y); title(sprintf('sin(x-%.2f)\n',a)) grid on; set(g,'EraseMode','xor') while a<=8*pi a=a+.1*pi; y=...

**matlab**

Im trying to figure out how to write a program that finds prime factors of a number. I have the following but it only works for the number 12 for some reason. % this program will determine if an integer is prime and determine % its prime factors function MAIN clear; clc; % ...

**MATLAB**

trying to make this program work, but it only works for the number 12.. % this program will determine if an integer is prime and determine % its prime factors function MAIN clear; clc; % define number(s) to be checked, call function, and print output N = 12; [answer,...

**MIT 2.01X**

We will obtain bending moment diagrams for three beams and calculate stresses inside the beams. For each beam, take the x-axis along the neutral axis of the beam, oriented from left to right, with origin at A. HW7_1A_1 : 5.0 POINTS For the beam above, obtain symbolic ...

**Physics/Mechanics**

We will obtain bending moment diagrams for three beams and calculate stresses inside the beams. For each beam, take the x-axis along the neutral axis of the beam, oriented from left to right, with origin at A. HW7_1A_1 : 5.0 POINTS For the beam above, obtain symbolic ...

**Physics**

HW5_1: REACTION AT SUPPORT AND INTERNAL AXIAL TORQUE RESULTANT We will use moment equilibrium around the x axis to calculate the x-component of the reaction torque at A, TAx, and the axial torque resultant at section C, TC=T(xC), for these two shafts in torsion. HW5_1_1 : 15.0...

**Computer Science (MATLAB)**

I had a test in my computer science course in which I was asked if any while loop can be replaced with a for loop. I put true. I guess the answer was false. My professor said that if you had a while loop in which you asked the user to input a certain value that had to be ...

**Computer Science (MATLAB)**

I had a test in my computer science course in which I was asked if any while loop can be replaced with a for loop. I put true. I guess the answer was false. My professor said that if you had a while loop in which you asked the user to input a certain value that had to be ...

**MIT 2.01X**

Posted by MAN on Tuesday, June 18, 2013 at 9:24pm. We will obtain bending moment diagrams for three beams and calculate stresses inside the beams. For each beam, take the x-axis along the neutral axis of the beam, oriented from left to right, with origin at A. HW7_1A_1 : 5.0 ...

**Physics/Mechanics**

tapered thin-wall circular shaft has constant wall thickness, t, length L, and diameters linearly varying between dA at the support A(x=0) and dB at its free end B(x=L). The shaft is homogeneous with shear modulus G HW6_1A : 20.0 POINTS Obtain a symbolic expression for the ...

**MIT 2.01X**

tapered thin-wall circular shaft has constant wall thickness, t, length L, and diameters linearly varying between dA at the support A(x=0) and dB at its free end B(x=L). The shaft is homogeneous with shear modulus G HW6_1A : 20.0 POINTS Obtain a symbolic expression for the ...

**Mechanial engineering**

HW7_1A: BENDING MOMENT DIAGRAMS AND STRESSES, PART I We will obtain bending moment diagrams for three beams and calculate stresses inside the beams. For each beam, take the x-axis along the neutral axis of the beam, oriented from left to right, with origin at A. HW7_1A_1 : 5.0...

**MIT LAB**

tapered thin-wall circular shaft has constant wall thickness, t, length L, and diameters linearly varying between dA at the support A(x=0) and dB at its free end B(x=L). The shaft is homogeneous with shear modulus G HW6_1A : 20.0 POINTS Obtain a symbolic expression for the ...

**Computer Science (MATLAB)**

Given an arbitrary one dimensional vector v imputed by the user for example v='Helllllloooooo' or v='Helo' I was able to append empty characters onto any one dimensional vector that the user can enter so that way the total length of the vector is a multiple of 8 characters of ...

**Dynamics of Machinary**

Write a matlab code for a hoekens linkage that will draw a 15 cm straight line. clear % clears all variables from the workspace clc % clears the command window and homes the cursor close all % closes all the open figure windows L0 = 7.5; L1 = 3.75; L2 = 9.375; L3 = 9.375; ...

- Pages:
**1**