Community Profile

photo

Roger J


Last seen: presque 3 ans il y a Actif depuis 2020

Statistiques

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

Afficher les badges

Content Feed

Afficher par

A répondu
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...

plus de 3 ans il y a | 4

| A accepté

A répondu
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...

plus de 3 ans il y a | 1

| A accepté

A répondu
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...

plus de 3 ans il y a | 0

| A accepté

A répondu
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...

plus de 3 ans il y a | 1

| A accepté

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...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

A répondu
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...

plus de 3 ans il y a | 1

| A accepté

A répondu
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); ...

plus de 3 ans il y a | 0

A répondu
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]; % ...

plus de 3 ans il y a | 0

A répondu
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...

plus de 3 ans il y a | 1

| A accepté

A répondu
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. ...

plus de 3 ans il y a | 0

| A accepté

A répondu
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...

plus de 3 ans il y a | 0

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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:...

plus de 3 ans il y a