Community Profile

# Tushar Behera

### MathWorks

Last seen: 19 days ago Active since 2022

I am an Engineer at Mathworks. My major responsibility includes developing new features for improving the functionality of MATLAB. Disclaimer: All the answers posted by me are my own and in no shape or form should be associated with The Mathworks.

Programming Languages:
C++, C, MATLAB
Spoken Languages:
English, Hindi

#### Content Feed

View by

How do I find which blocks are used in this scheme?
Hi Mone, I asssume you want to know the blocks used in the simulink model. As per my knowledge the "pentagonal ones ([Im], [V]...

1 year ago | 1

| accepted

How to assign values to matrix
Hi jacob, I assume you want to convert your matrix containing binary values such that 0 will be 1 and 1 will be 2. This can be...

1 year ago | 0

| accepted

Having each iteration of nested loop plot on graph
Hi Mabin, I assume you want to know why your code is not performing as you had expected. Your code has a problem since you ca...

1 year ago | 1

| accepted

How to find the efficiency of an algorithm?
Hi Sadiq, I am assuming you want to know how efficient your code is. You can utilise MATLAB's "profile" built-in function to g...

1 year ago | 0

Issue when using ceil function
Hi Silvester, The results for a and b are different because the expressions for each of them are different. The issue is not wi...

1 year ago | 0

| accepted

Take two matrices in a folder, take the difference, and save the new matrix to a new folder.
Hi Alexander, I believe what you want to do here is extract two matrices "S01_p1" and "S01_p2" from their respective ".mat" fi...

1 year ago | 0

Error using tf The values of the "Numerator" and "Denominator" properties must be row vectors or cell arrays of row vectors,
Hi Joe, I belive the error is due to the fact that the variables "numerator" and "denominator" are symbolic variables. this c...

1 year ago | 1

How do I input names properly in a script?
Hi brandon Do you want to display something like "Davis's BODYMASSINDEX" after you have input the name and another variable? f...

1 year ago | 0

NxA array and Nx1 array into Nx(A+1) table
Hi Louis, I believe you want to concatenate two matrices of size NxA and Nx1 and create a matrix of size Nx(A+1). This can be...

1 year ago | 1

| accepted

How do I sum the values of sections of a table?
Hi Macy, I believe you want to group the students by the year and find the total. This can be acheived by using the function "...

1 year ago | 0

| accepted

for in for loop
Hi Marko, I believe you want to understand the code in your question and how the loop will work. The code you have written wil...

1 year ago | 0

| accepted

Transfere an excel-list into vectors
Hi Ben, I believe you want to bundle up all the metal type and test number into one vector. This can be acheived by using "reg...

1 year ago | 1

| accepted

x values when taking a numerical derivative
Hi L'O.G, I believe you want to calculate derivate for two separate datasets. In order to do that you can use 'diff(y)./diff(x)...

1 year ago | 0

How to identify points on a graph of multiple functions
Hi Samuel, I believe you want to identify spots where y=0 on your plot. To find the x values where y=0 for each function, you ...

1 year ago | 0

| accepted

Extracting images embedded in Excel Files
Hi jaco, I believe you want to know how to extract images from excel files. You can use "ActiveX" function to acheive this. Fo...

1 year ago | 1

Code loop logic issue
Hi Takura I believe you want to loop through the code until the guessed value is equal to the calculated value. In order to ac...

1 year ago | 0

load all the variables from .csv file in workspace as input to "From Workspace" block?
Hi Muralidharan I believe you want to import data from a excel file with their respective variable names such as age, number et...

1 year ago | 0

Simulink export to web view -> empty html
Hi Christian I believe you want to save your simulink model in web view mode. In order to view the saved simulink model you ne...

1 year ago | 0

Need to turn table within cell to array
Hi David, I believe you have a table which consists of several other tables. You want to convert one of those table into a vect...

1 year ago | 0

Finding string such as "A**B"
Hi HCLEE, I believe you want to find a string in your matrix which have starting point as "A" and ending with "B". This can be...

1 year ago | 1

| accepted

What does a dashed line in simbiology mean?

1 year ago | 0

How to start loop when it finds the first maximum
Hi Jorge, It is difficult to give a proper solution with the information you have provided. However can you verify what are the...

1 year ago | 0

select few values from a vector randomly
Are you looking for something like this v1 = [3 4 7 14 15 18 23 25 28 31 34 36 37 38 39 40 42 44 46]; v2 = [1 2 5 6 8 9 1...

1 year ago | 1

I have an array and I want to know how many indexing values are needed for the value of the array to increase
Hi Correia, It is not clear from your question as of what you want to acheive, I am assuming you want to increase the size of y...

1 year ago | 0

i am tring to input different z values to get different B using matrix manipulation. just having trouble using for loop
Hi kaixi, I am assuming you want to get different B values for different values of Z, and want to keep all the B values. Howeve...

1 year ago | 0

How to get comlex root of an equation using fminbnd?
Hi Sina, I believe you want to find the minimum of a function in the complex plane. The function "fminbnd" is not suitable fo...

1 year ago | 0

how to compare a row of the table with other rows of that table itself for the particular Columns ?
Hi Shiv, I believe what you are looking for is first to group your data according to "TaskAssignment" and then for "TaskAssignm...

1 year ago | 0

| accepted

How to connect this DC current source, it is not getting connected?
Hi Siri, I believe that you want to make use DC current source in your simulink model. However the block you are using belongs ...

1 year ago | 0

| accepted

How to store every iteration of while loop into array?
Hi Riley, I believe what you are trying to do is create an cell array of images which adds on a new image in each iteration. I...

1 year ago | 1

| accepted