photo

Roger J


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How to generate time dependent exponential terms in Simulink?
I did it with a "Matlab function" which you can add to the simulink diagram like any other element. When you double click the...

4 years ago | 4

| accepted

Answered
How to remove the input port from Gain block of Simulink?
If you are trying to drive the output with a constant value "0.5" then you can use something like You can add the "Constan...

4 years ago | 1

| accepted

Answered
how to read each text file using stread command
Aman, I think that you want to end the script with one large matrix that has data from all files. And you want to print only...

4 years ago | 0

| accepted

Answered
Medical Image Processing: X and Y coordinates switched around after using find and ind2sub?
Sam, This is a common misunderstanding. Please see if this link answers your question: https://www.mathworks.com/matlabcentra...

4 years ago | 1

| accepted

Question


impulse response for difference equation
I'm trying to derive the impulse response for the following: y[n] = ay[n − 1] + x[n] − (a^N)x[n − N] I am using two diff...

4 years ago | 1 answer | 0

1

answer

Answered
How to fill a large gap in a sine wave?
You can try something like the following: temp_reconstructed = fillgaps(tablecomplete.table_temperature,80,50); Where I ha...

4 years ago | 1

| accepted

Answered
How to call files with location names of >1 words?
You can use the following: >> location = lower(fname); % convert to lower case >> location = char(location); ...

4 years ago | 0

Answered
how can i write a code with consecutive number between 0-100 and use this values inside my code?
x=0:100 % creates 101 elements from 0 to 100 y=x(12) % sets y to the value of x(12) x = 0.05 + (0.1-0.05).*[0:100]; % ...

4 years ago | 0

Answered
How can I automatically let Matlab input the file in sequence?
Can you try the following: >> for i=1:1000 fn_read ="sample"+i+".wav"; % this is the file name to read from fn_rea...

4 years ago | 1

| accepted

Answered
Building array with custom function
If you don't assign the return values from a function call, then only the first is assigned to the default ans variable. ...

4 years ago | 0

| accepted

Answered
How do I calculate the area between a curve and a horizontal line?
Capture the return value from "area()", and then find the x values for the two points where p1e crosses hwMark. Now you can...

4 years ago | 0

Solved


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

4 years ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

4 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago