Community Profile # Rohit Kulkarni

Last seen: 6 days ago Active since 2022

#### Statistics

• • #### Content Feed

View by

How to return a true/false logical array from a string array of repeating numbers?
I think this may work: A = [3 3 2 1 5 1 0 4]; [uniqueA i j] = unique(A,'first'); idRep = find(not(ismember(1:numel(A),i))...

3 months ago | 0

| accepted

How to find euclidean distances of each column of the two matrices?
Hi , You can do like this: A = [1 2;3 4] B = [4 2;7 4] Distance1 = sqrt(sum((A - B) .^ 2))

3 months ago | 0

How to name rows with same names?
Hi, A similar question has been answered earlier. Please refer this MATLAB answer for assigning same row name for a range of r...

3 months ago | 0

Extracting Info from the table
If you want to access data from multiple variables at once, you can index with curly braces. Inside the curly braces, you can s...

3 months ago | 1

Determining Smith Form of a rectangular matrix
Hi, I think this may help you https://in.mathworks.com/matlabcentral/fileexchange/60410-mnsmithform-a. Open the Functions tab,...

3 months ago | 0

| accepted

how to merge twovgraphs
You can check out this documentation for plotting both graphs together: Display Data with Multiple x-Axes and y-Axes.

3 months ago | 1

| accepted

create a matrix of maximums
To get maximum value for each column and the corresponding indices you can do the following: max_values = max(range_compressed_...

3 months ago | 0

wireless power transfer efficiency
Hi, You can use the plot function to plot the graph for various values of K. As frequency will be a vector. You will have to ...

3 months ago | 0

hey ,i am using this function to implement gradient descent but it returns only the theta value not the J_history value,Please help me in this situtation
Hi Ashok, Are you facing this same issue : https://in.mathworks.com/matlabcentral/answers/787299-gradient-descent-fix The an...

3 months ago | 0

import multiple mat files together
Hi, You can use load for loading files, plot for plotting, and hold on and hold off for plotting multiple plots on one. Hold ...

3 months ago | 0