photo

Kenny Dang


Active since 2017

Followers: 0   Following: 0

Statistics

MATLAB Answers

13 Questions
0 Answers

RANK
241,498
of 300,930

REPUTATION
0

CONTRIBUTIONS
13 Questions
0 Answers

ANSWER ACCEPTANCE
30.77%

VOTES RECEIVED
0

RANK
 of 21,114

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 171,750

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 1

View badges

Feeds

View by

Question


How would I type this into matlab x(t) = e^(-2*abs(t)) y=x(t-5)
my t=[0:0.1:10-0.1] My x function is exp(-2*abs(t)) how would i allow this to work on matlab y(t) = x(t-5)

8 years ago | 1 answer | 0

1

answer

Question


Numerical Approximation to the continuous time fourier transform
Calculate samples Y(jw_k) by typing Y=fftshift(tau*fft(y)) >> syms t; >> format compact >> x=symfun(exp(-2.*abs(t)),t); >>...

8 years ago | 1 answer | 0

1

answer

Question


What is the smallest period?
My function is x(t) = cos(omega*t)+sin(2*omega*t) omega is 2pi. The books want me to use my vector as t=linspace...

8 years ago | 0 answers | 0

0

answers

Question


How do you find intersection on a graph using the graph settings.
I wanted to find the intersection of these two functions but I do not want to do it in matlab coding, I want to use the tools on...

9 years ago | 1 answer | 0

1

answer

Question


Implementing Heun's first order ODE
This what I have so far function[t,y]=heun(f,a,b,h,y0) n=(b-a)/h; t=[a];y=[y0]; for k=2:n+1, t=[t; a+(k-1)*h]; y=[y; y...

9 years ago | 0 answers | 0

0

answers

Question


Can the double-precision floating point number 0.72 be represented exactly in Matlab? Explain.
Can the double-precision floating point number 0.72 be represented exactly in Matlab? Explain. This is one of my practice probl...

9 years ago | 1 answer | 0

1

answer

Question


Can you explain how a number smaller than realmin can still be represented using 64-bit floating point representation?
Just trying to understand 64-bit a little more. I understand that realmin pulls the smallest positive number and that's about it...

9 years ago | 1 answer | 0

1

answer

Question


What is wrong with my fprintf?
I am trying to print out the value of y to be 6 decimals, if I type it as format long or short it pops out those lengths. I am t...

9 years ago | 2 answers | 0

2

answers

Question


Adding two polynomial(anonymous)
How do I add two anonymous function to define the polynomials. a=@(x) x.^3 + 6*x.^2 + 11*x +6; >> b=@(x) x.^2 - 2*x +1; ...

9 years ago | 1 answer | 0

1

answer

Question


Is this the right way to put this equation in?
>> format short >> p=[1 6 11 6]; >> r=roots(p) r = -3.0000 -2.0000 -1.0000 <</matlabcentral/answers/...

9 years ago | 0 answers | 0

0

answers

Question


How to get rid of zeros in vector ans?
function y = realvalue3(x) n=1; while n<= length(x) if abs(x(n))>=10^-12 y(n)=x(n); n=n+1; ...

9 years ago | 2 answers | 0

2

answers

Question


How to make vectors zero when adding two different size vectors?
I know how to make vectors add such as x=[1 2 3] and y=[-1 2 -1] and it should return as [0 4 2] But when adding two different ...

9 years ago | 1 answer | 0

1

answer

Question


How do you make a program read a function for a script and creating a function?
<</matlabcentral/answers/uploaded_files/68519/2017-01-28_1200.png>> I am very new to matlab. So sorry if I am a noob at progr...

9 years ago | 3 answers | 0

3

answers