![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/14130396_1542132432151_DEF.jpg)
Sam Thorpe
2019년부터 활동
Followers: 0 Following: 0
Feeds
질문
Plotting two arrays of different lengths
Hi. I am currently working on a signal processing task where I have to plot the transmission loss of a steel pipe. So far I have...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Getting velocity from acceleration using cumsum
Hi, I have been given a set of data which includes acceleration, velocity and time from an experiment. We have been asked to pro...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
calling a function in a script
Hi. I have defined the following function which I wish to call in a script: function imageprocess=imselect(x);%function to sele...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Is it possible to store jpg images in an array to use in a function?
Hi. I am currently working on mini project where I have to compare images from a drug screen. I currently have 2 folders, one ...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
Help with nested functions and finding the circumcentre
Hi. I have been asked to create a function which plots a triangle given the [x,y] coordinates. then using nested or subfunctions...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Results of a while loop wont store in array
I have the following script which calculates the quadratics of an equation in a function. x=[10:100]; a=10; b=100; c=0; res...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
can someone help me create function with 2 inputs that creates a single output?
I have been asked to create the following: Create a function called Ex7b with 2 inputs (n and m) and a single output. Write the...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Iteration of a formula
I have the following function y=4*(1-cos(x)).^2+x.^3. Using newtonian iteration how can iterate the formula 100 times with initi...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Hi. I have been asked to iterate a function 100 times with an initial guess of x=4, but i am unsure how to go around it. I have been given the following function:
function y=function_for_Ex6a(x) for x=(127.0526); y=4*(1-cos(x)).^2+x.^3; end
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
Hi. I am a complete novice at matlab and have been asked to create a 10x10 matrix in as few steps as possible. The first row has to be from 1:10, the second line from 2:11 and so on. How can I create this using repmat?
%this is the matrix I want to achieve A = zeros(10) A(1,:)=[1:10] A(2,:)=[2:11] A(3,:)=[3:12] A(4,:)=[4:13] A(5,:)=[5:14] ...
5년 초과 전 | 답변 수: 4 | 0