photo

johnson saldanha


Aktiv seit 2018

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Controlling a generic engine block
Im having a engine and a motor connected in parallel to a vehicle body. I do not want the engine to run until the vehicle has re...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can i convert a mechanical rotational domain output signal from rad/s to rpm in simulink?
How can i convert a mechanical rotational domain output signal of a dc motor from rad/s to rpm in simulink? The output after con...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to find a output value at time t for a input value at time t in simulink
I am simulating a model where i need to measure continuous values of output variable Y which im going to use as my feedback to a...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to read multiple files using a function from the previous script
in my 1st script i created the whole code as a function and it returns me a single value in the end. the first two lines of my c...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to find the number of occurances
i have a matrix x=[1 1 1 1 2 2 1 1 3 3 ] i want the output to be x1=[1 2 1 3] and y1=[4 2 2 2] x1 should have the reduced numb...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to find the square of the number
i have a matrix x where x(:,3)=[ 2 3 4 5 6]; i want the output as y(:,1)=[ 6 16 40 96 ]; input and output should be column vec...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


subtraction on the cells elements
i have a cell array x of size 12*1 and the cells are column vectors of type double x{1,1}=[1 2 5 6 7 7 8 ]; x{2,1}=[ 1...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


plotting a graph for cell
i have a cell array. it has a 12 rows and 1 column. i want to plot the graph for each cell element in the same graph. each cell ...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to display a value in first column the second column number of times?
suppose i have a column vector x=[1 2 3 4]; and y=[2 3 3.5 4] i want the output as xy=[1 1 2 2 2 3 3 3 3 4 4 4 4]; the num...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to calculate the mean for the number of occurances
suppose i have a cell C where C{1,1}= ( 2 2 2 2 3 3 4 4 5); C{2,1}=(3 4 4 4 5); C{3,1}=(4 5); and so on i want the output ...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
finding the increase in values
i did that but im not getting the desired output. im getting the decreasing values too (5 5 5 5 3.75 3.75 3.75 3.75) im g...

fast 6 Jahre vor | 0

Frage


finding the increase in values
suppose i have a column matrix a=( 2 2 2 3 3 3 5 5 5 4 4 3 3 3 2 2 3 3 3 4 4 4 5 5 5 4 4 3 3 ) i want to find the constant and...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to separate the non-zero elements from an array
suppose i have a column matrix with non zero elements in between the zeros. i want to put the nonzero values in a cell of differ...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how can sort the numbers according to the numbners in the first column
suppose i have a matrix where the first column is x(:,1)=[ 1 1 1 2 2 1 3 3 ] and second column is x(:,2)=[ 2 3 2 4 6 9 7 8 9]; ...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


finding the mean and max
suppose i have a matrix where the first column is x(:,1)=[ 1 1 1 2 2 1 1 3 1 ] and second column is x(:,2)=[ 2 3 2 4 6 9 7 8 9];...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how do i get the higher values into the bins
edges=0:10:103 [~, discrete_x] = histc(x, edges); discrete_x(discrete_x == length(edges)) = length(edges)-1; discrete_x(discr...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


finding the mean and reducing the value
suppose i have a matrix x=[ 0.01 0.02 0.034 0.045 0.054 0.06] and y=[1 1 1 2 1 1] i want the output to be x1=[0.021 0.04...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


find the number of occurances
my matrix is x=[ 1 1 1 3 3 4 4 4 6 7] i want the output as y=[ 3 2 3 1 1] i want to find how many times a particular value is ...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to assign weightage
suppose i have a matrix x and the second row has values ranging from 0.2 to 102 and weightage has to be assigned to these depend...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how do i discretize negative integers
[~, discrete_x] = histc(x, edges); discrete_x(discrete_x == length(edges)) = length(edges)-1; discrete_x(discrete_x == 0...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


function instead of discretize
which other function can i use instead of discretize in older version of matlab

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


check for decrease and increase
i have a matrix and check for a column to see if the values are rapidly decreasing in steps of five. how to check for it? for ex...

etwa 6 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


finding values of a matrix
how to find the values of a particular column corresponding to the known index numbers? for ex: the matrix is x and the index ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


why am i getting this error and what are the steps to correct it
when importing data from a csv file. im getting the error as "Undefined function 'tabularTextDatastore' for input arguments of...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort