photo

Nithin Banka


Active since 2018

Followers: 0   Following: 0

Statistics

All
MATLAB Answers

0 Questions
10 Answers

Cody

0 Problems
51 Solutions

RANK
3.688
of 300.392

REPUTATION
14

CONTRIBUTIONS
0 Questions
10 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
3

RANK
 of 20.934

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
10.753
of 168.373

CONTRIBUTIONS
0 Problems
51 Solutions

SCORE
560

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Knowledgeable Level 1
  • Revival Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Can I store row numbers of a matrix in a column without using any loop?
a = magic(3); a(:, 1) = [1:3]; % This will store the row index in the first column of 'a'

meer dan 7 jaar ago | 0

| accepted

Answered
calculate the percentage of B&W image
If 'BW' is your binary threshold image, pix = size(BW); no_of_pix = pix(1)*pix(2); no_of_white_pix = sum(sum(BW==1));...

meer dan 7 jaar ago | 0

Answered
Remove for loop and reduce time
if true edges_a=min(ac1):1.25:max(ac1); grp_ac=discretize(ac1,edges_a); len = length(edges_a); aux...

meer dan 7 jaar ago | 1

Answered
How to avoid for nested loops with if condition?
I don't think you need to use 'for' loop. The 2 'if' statements can be easily handled in MATLAB. index_of_1_in_id_and_RR = ...

meer dan 7 jaar ago | 0

Answered
draw lines between specific points with known length
from what I have understood, you want to plot different line segments connecting points from your data. I took an example to exp...

meer dan 7 jaar ago | 0

| accepted

Answered
How to get pdist() values of all the rows of a matrix with respect to a row of the same matrix?
diffX = X - X(1, :); yourReqOutput = sqrt(sum(diffX.^2, 2));%first row will be 0 as it is distance from itself.

meer dan 7 jaar ago | 0

Answered
Problems with drawing diagrams in MATLAB
Refer to <https://www.mathworks.com/help/matlab/ref/hold.html Hold> documentation. Example: x = linspace(-pi,pi); y1 ...

meer dan 7 jaar ago | 0

Answered
Plot where x axis is the date, Part 2 (edited)
Assuming that you have the same number of data points as the number of dates. Create a datetime vector for the duration and plot...

meer dan 7 jaar ago | 0

Answered
How do i copy a one matrix into another ignoring the ''NAN' elements in the matrix?
if 'a' is your 1st matrix, 'b' is your 2nd matrix, a = [17 24 1 8 15; 23 5 7 14 16; ...

meer dan 7 jaar ago | 0

Answered
How to close the webcam after the image has been captured?
If the webcam object you are using to capture images is say 'camObject' use the below command to close the webcam clear ca...

meer dan 7 jaar ago | 2

Solved


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

meer dan 7 jaar ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

meer dan 7 jaar ago

Solved


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

meer dan 7 jaar ago

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

meer dan 7 jaar ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

meer dan 7 jaar ago

Solved


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

meer dan 7 jaar ago

Solved


Triangle Numbers Below N
This is an offshoot of <http://www.mathworks.com/matlabcentral/cody/problems/5-triangle-numbers Cody Problem 5: Triangle Numbers...

meer dan 7 jaar ago

Solved


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

meer dan 7 jaar ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

meer dan 7 jaar ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

meer dan 7 jaar ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

meer dan 7 jaar ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

meer dan 7 jaar ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

meer dan 7 jaar ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

meer dan 7 jaar ago

Solved


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

meer dan 7 jaar ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

meer dan 7 jaar ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

meer dan 7 jaar ago

Solved


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

meer dan 7 jaar ago

Solved


square root
Find the square root (y) of an input (x).

meer dan 7 jaar ago

Solved


Find max
Find the maximum value of a given vector or matrix.

meer dan 7 jaar ago

Load more