Question

How can i get the value of start and end of an integral save it in table simulink

I would like to get the start of curve and end of each curve and save it to matrix not in time series datahere are the points th...

1 month ago | 0 answers | 0

Question

How to save max data of a time series data from simulink

I have an output from simulink of the following array. It calculates Kw value per 0.1 seconds i want to get total kw when "valid...

2 months ago | 1 answer | 0

Question

Save Parameter values in workspace from Export Target in excel file

In excel file, cell G374 contains the parameter name which has a string value of 'Parameter1'. Value is linked to another c...

2 months ago | 0 answers | 0

Question

convert array 3d array into 3 column(ranked)

How can i convert array 3d array into 3 column(ranked) INPUT SPEED=[1 2]' TRQ=[10 20 30] Z=[0 1;3 5; 4 3] A=TRQ B=SPEED'...

3 months ago | 1 answer | 0

Question

Get Column Name if matrix row value is 1

Im creating a labeling for x axis of a graph that track change in value based on first row of a matrix as basevalue. I had m...

5 months ago | 1 answer | 0

Question

extract column name of table with Nan column

How can i return the label name of column with values all Nan sample1=[1 2 3]';%Sample data sample2=[4 5 6]';%Sample data ...

5 months ago | 2 answers | 0

Question

Convert Cell to variable name array

How can i use cell text as variable name input? I want to use string variables "A" as variable name to output"B". A={'sampl...

5 months ago | 1 answer | 0

Question

Zero phase filtering of FIR from filter and Analysis Toolbox

How can i use filtfilt function in this filter % MATLAB Code % Generated by MATLAB(R) 8.2 and the Signal Processing Toolbox ...

7 months ago | 0 answers | 0

Question

put a function inside loop and save as matrix and csv

I have the following main script that pass value to a function. I would like to import different csv using function within a lo...

7 months ago | 2 answers | 0

Question

count number of going into transition simulink

How can i enable the "charge" state if socpar is becomes less than 20 the 2nd time? it must enter only in that transition after ...

8 months ago | 0 answers | 0

Question

how to detect 2nd crossing of a signal

How can i detect the 2nd crossing of signal if it reaches 20. signal characteristics

8 months ago | 0 answers | 0

Question

run m file triggered by simulink but outside simulink

I want to run m file which is triggered by simulink model-1 output (triggered by constant=1), but i want it to run outside of si...

12 months ago | 0 answers | 0

Question

Write to Existing Multiple Excel file via Range and Sheet

How can i overwrite Multiple Excel file specifying the Range and Sheet. There is a pre-added data on the A.xls and B.xls C.xls ...

1 year ago | 0 answers | 0

Question

How to multiple read csv and subject it to formula and look then store in matrix mat for plotting.

How to multiple read csv and subject it to formula and look then store in matrix mat for plotting. G1_01=csvread folder pat...

1 year ago | 1 answer | 0

Question

How to store vector name and value in the result

I have the following vectors and want to make it as table or array Parameter1=1 Parameter2=2 Parameter3=3 the resu...

1 year ago | 1 answer | 0

Question

Find starting point of a noisy array

How can I find the the starting point of A array and calculate average starting from starting points to 2 seconds A=[0 0...

1 year ago | 2 answers | 0