Community Profile

# Roger J

##### Last seen: 3 Monate ago
14 total contributions since 2020

View details...

Contributions in
View by

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 Monate ago | 1

| accepted

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 Monate ago | 1

| accepted

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 Monate ago | 0

| accepted

Medical Image Processing: X and Y coordinates switched around after using find and ind2sub?

4 Monate 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 Monate ago | 1 answer | 0

### 1

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 Monate ago | 1

| accepted

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 Monate ago | 0

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 Monate ago | 0

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 Monate ago | 0

| accepted

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 Monate ago | 0

| accepted

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

5 Monate ago | 0

Solved

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

5 Monate ago

Solved

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

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

5 Monate ago