Community Profile

photo

Diego Dranuta


Last seen: 3 years ago Active since 2019

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 0

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

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

4 years ago | 3 answers | 0

3

answers

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 3 answers | 0

3

answers

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 2 answers | 0

2

answers

Question


Can I write a script that keeps rows that are within 5% and 10 cells above and below a specific cell?
The idea is to have a script that takes stable data eleminating the peaks and valleys. I want to have that cell compared with ...

4 years ago | 1 answer | 0

1

answer