Question

Loop through list of variable in workspace to get and store in matrix

How can i loop through list of variable 'selected' in workspace to get and store in one matrix (h). it only stores the last ma...

3 months ago | 1 answer | 0

Question

search smaller string array to bigger string array

how can i search 'selected' string array to bigger 'alllistarray' and index as 'mask' selected={'a', 'gg' 'c'} Alllist={'a', ...

3 months ago | 1 answer | 0

Question

Pass value from App 1 to App2 in Matlab App designer in Matlab 2016

Im using matlab 2016b so there are limitation in editing startfup function argument unlike in 2020version. I would like to ca...

5 months ago | 0 answers | 0

Answered

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

m = mdf('CANape.MF4') data = read(m, 1, m.ChannelNames{1}); mdfds = mdfDatastore('buf_011.MF4'); data=readall(mdfds); m...

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

m = mdf('CANape.MF4') data = read(m, 1, m.ChannelNames{1}); mdfds = mdfDatastore('buf_011.MF4'); data=readall(mdfds); m...

5 months ago | 0

Question

Show filtered column of a cell array based on filtered cell header

I want to show filtered column of a cell array based the header .Im using matlab 2016b For example i have cell data such as th...

5 months ago | 1 answer | 0

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 year ago | 1 answer | 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...

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

1 year 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'...

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

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

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

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

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

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

2 years 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

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

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

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

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

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

2 years ago | 2 answers | 0