Community Profile # Diego Dranuta

Last seen: 1 year ago Active since 2019

#### Statistics

• • #### Content Feed

View by

Question

How to Create a hystogram based on a timetable?
Hi, I have a time table that contains data from 28 days from 3 engines. I have group them and synchronized them but I am having...

1 year ago | 1 answer | 0

### 1

Question

Simulink: How to hold a if conditional over a period of time
I am building a hybrid system where the engine load is modeled by Simulink, I need to stablish load given battery's State of Cha...

1 year ago | 1 answer | 0

### 1

Question

Illegal use of a matrix or vector type where a scalar was expected. ERROR IN SIMULINK
Hi, I am working on a chart block in SIMULINK where my imput is a variable over time. State Of Charge (SOC) of a battery. When...

1 year ago | 1 answer | 0

### 1

Question

Steady State data finding
Hi, I have a table with 5 columns All=table(Time, PercentLoad, Enginecoolanttemp,DieselFuelRate,ExhaustGasTemp) I need to fin...

2 years ago | 1 answer | 0

### 1

Question

How to create a vector and populate it with the first 10 roots using this Newtons method code?
I've created this code to calculate roots by using Newtons Method. However I only need the first 10 roots that I find with this ...

2 years ago | 1 answer | 0

### 1

Question

How to import data from excel to be used on a 3-D lookup table in Simulink?
I am trying to use a 3-D table on SIMULINK just like shown on this link https://www.mathworks.com/help/simulink/slref/2dlookupta...

2 years ago | 1 answer | 0

### 1

Question

1-D Convection Equation is converging to 0. Thomas Algoritm using Back Time Center Scheme
Hi guys, this is a very mathermatical question i guess. I have the following code for plotting 1-D convection equation in time ...

2 years ago | 1 answer | 0

### 1

Question

I need help solving a PDE using Thomas Method
Hi, I am trying to use MATLAB for solving PDEs for a MATH course I am taking but I am having issues with the coding section bec...

2 years ago | 0 answers | 0

### 0

Question

How can I convert this pseudo code to matlab?
Hi guys, I am working on this little math problem where I have to convert a pseudo code to matlab to see how accurate Lagrange ...

2 years ago | 1 answer | 0

### 1

How to import an excel file that contains an absolute time column?
I can't edit the format since these files are auto generated by a software I can't edit. And I get thousands of files a month.

2 years ago | 0

How to import an excel file that contains an absolute time column?
doing it that way the date data is not representative anymore. There has to be a more efficient way to conserve the date format ...

2 years ago | 0

Question

How to import an excel file that contains an absolute time column?
I have a file that contains some data and one of the colums is in absolute time format. I am using the xlsread function but the ...

2 years ago | 3 answers | 0

### 3

Question

Replacing NaN with last real value
Hi folks, I have hundreds of excel files in .csv format that I have to "clean" getting rid of all teh NaN values and replacin th...

2 years ago | 1 answer | 0

### 1

Question

How can I deleate or replace with a 0 all the Nan, Inf anf -Inf values in a time series from the biggining to the end?
Ive got a time series from Simulink that changes its size every time I run the simulation and I want to get rid of all the Nan a...

3 years ago | 3 answers | 0

### 3

Question

How can I device a time series A by a Time series B if they are the same size?
I have 2 time series, they are both the same size but I don't know how to devide time series A by time series B. Also, Once is ...

3 years ago | 1 answer | 0

### 1

Question

How can I code so if there is a transient segment, then a steady segment, and a transient segment again, and the timelapse is less than 120 seconds, then make that steady segment transient.
%Determine Segments of percent load devided in Transient and Steady clearvars -except PercentLoad Time %Get rid of noise by ...

3 years ago | 0 answers | 0

### 0

Question

How can I create a legend on the interception of 2 lines on a plot with its coordinates?
I have this code so far, I want to get the interceptions of plot(CrankAngle1,n1) and plot(xl(:)*[1 1], [1;1]*[0.5 0.9], '--r'). ...

3 years ago | 0 answers | 0

### 0

Question

How can I interpolate a point in a x,y graph given only one of these values and being the point on the line?
I have a sets of graphs where I want to show 2 points on each plot. One on .5 (y value) and the other on .9 (also y value) I ha...

3 years ago | 0 answers | 0

### 0

Question

How can I code so: if a value on an array is false(0), and there is another false later on the list,all the 1's between (true) all the 1's turn into 0?
After processing some data I have ended up with a boolean. Now I want to gropup different sets of data by 0's and 1's but if the...

3 years ago | 2 answers | 0