Solved


Make a low pass filter
Make a first order low pass filter that will filter out the high frequency oscillations for the given input signal. The cut-off ...

10 years ago

Solved


Produce a Fibonacci sequence
Construct a diagram that generates the Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34.....up to 377 The Fibonacci sequ...

10 years ago

Solved


Model a falling body
An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...

10 years ago

Solved


Counting pulses in a signal
Count the number of pulses that are the result of summing each pulse generator block. Pulse Generator blocks produce a recurr...

10 years ago

Solved


Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...

10 years ago

Solved


Add damping to a mass spring system
Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...

10 years ago

Solved


Calculate the Levenshtein distance between two strings
This problem description is lifted from <http://en.wikipedia.org/wiki/Levenshtein_distance>. The Levenshtein distance betwee...

10 years ago

Solved


Connect Four Win Checker
<http://en.wikipedia.org/wiki/Connect_Four Connect Four> is a game where you try to get four pieces in a row. For this problem, ...

10 years ago

Solved


Longest Divisor Run
Given the vector a, find the longest run of consecutive numbers that can be evenly divided by the same number d where d > 1. ...

10 years ago

Solved


Given two strings, find the maximum overlap
Given two strings s1 and s2, create a new string s3 which is as short as possible and contains both strings. If s1 = [1 2...

10 years ago

Solved


Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

10 years ago

Question


Sundials Solver in MATLAB/Simulink
I noticed that the <https://computation.llnl.gov/casc/sundials/main.html Sundials solver> is implemented and and used someplace...

10 years ago | 3 answers | 0

3

answers

Answered
Large Sparse Rectangular Over-determined Equation System (to reorder or to not reorder)
In |spparms.m| (version 2015b) there is the following note: % Solving rectangular matrices within \ and /: % The ...

10 years ago | 0

| accepted

Answered
Large Sparse Rectangular Over-determined Equation System (to reorder or to not reorder)
I found the <https://youtu.be/7ph4ZQ9oEIc video on SuiteSparse> was very helpful. It talked about least square matrix problems a...

10 years ago | 0

Answered
i am solving over-determined system but when i run my code its give me result inner dimension mismatch how to solve it
Your code is a bit cryptic because it is clear you don't know the right MATLAB syntax. So the way I will try to help is guess at...

10 years ago | 0

| accepted

Answered
Though the processed signal plays in spectrogram demo , it doesnt play in vlc media player or any other players!!! what do i do now???
How did you write the file to an audio file? Did you use audiowrite? http://www.mathworks.com/help/matlab/ref/audiowrite.html...

10 years ago | 0

Question


Large Sparse Rectangular Over-determined Equation System (to reorder or to not reorder)
I have a sparse rectangular matrix A of size m x n. m > n always. I want to solve this system of equations in a least squares ma...

10 years ago | 3 answers | 0

3

answers

Question


pathdef.m, MATLAB upgrade, and Linux
I use a custom pathdef.m on linux. When I upgrade my MATLAB, the pathdef.m file from the previous setup isn't correct anymore be...

10 years ago | 1 answer | 0

1

answer

Solved


Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

10 years ago

Solved


Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...

10 years ago

Solved


Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

10 years ago

Solved


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

10 years ago

Solved


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

10 years ago

Solved


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

10 years ago

Solved


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

10 years ago

Question


What is the best way to get the name of a variable in a script?
What is the best way to get the name of a variable in a script? The below code works but I am wondering if there is a built-i...

10 years ago | 2 answers | 6

2

answers

Question


What is the best way to write a duration type to an Excel file?
I have an array of duration type. I want to write it to Excel and then use it as a time in excel. Is there a recommended way to ...

10 years ago | 2 answers | 0

2

answers

Question


hh:mm:ss string to duration type
I have strings that look like this: '24:06:26' and '7:20:26'. I want a duration type. What is the best way to get this? All I...

10 years ago | 1 answer | 0

1

answer

Question


Using Deval with Simulink Output
Is there a way to use |deval| with the output from simulink. |deval| works fine with a solution structure from the ODE integrato...

10 years ago | 1 answer | 0

1

answer

Question


Set of Complex Numbers Symbol in Published Code
How do I use the symbol for the complex number set in latex markup in MATLAB? None of these have worked: \mathbb{C} \Co...

11 years ago | 1 answer | 0

1

answer

Load more