Community Profile

photo

Roger J


Last seen: fast 3 Jahre vor Aktiv seit 2020

Statistiken

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

Abzeichen anzeigen

Content Feed

Anzeigen nach

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

mehr als 3 Jahre vor | 4

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
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); ...

mehr als 3 Jahre vor | 0

Beantwortet
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]; % ...

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor