Community Profile

photo

Bhaskar R


Cyient Ltd

112 total contributions since 2017

Application software Engineer

Contact

Bhaskar R's Badges

  • Knowledgeable Level 2
  • First Review
  • First Answer
  • Thankful Level 1
  • CUP Challenge Master
  • Draw Letters
  • Promoter
  • Commenter
  • Solver

View details...

Contributions in
View by

Answered
dont want the number if its a part of a complex number
MATALB convert all numbers float if any number is float in the array as it Auto type cast so we need to convert from the manipul...

environ 14 heures ago | 1

Answered
Hello guys, i want to add threshold on my probability density function that is vertical line on x coordinate, how to do that pls help me
In MATLAB R2018b mathworks introduced xline(xvalue) command for this kind of requirement In your context the code is hold on;...

environ 14 heures ago | 1

Answered
Storing data using cellstr
I understood, convert the each character of the input string(usertext) to 0/1 if the ASCII value greater than 95 then i would ...

1 jour ago | 0

Answered
How an script for get the product of G(x)=(x-x1).*(x-x2)...(X-Xn)
insufficient data Assuming all the data which may match with your context n = 8; % number of values X = 9; % X...

5 jours ago | 0

| accepted

Answered
Add / before _ in a string
There are many ways to do this, the simplest way is by the command "strrep" str = 'Mean_Tumor_Radius_prolif' replaced_str = s...

5 jours ago | 0

| accepted

Answered
How to find the distances between two points in X-Y plane?
You can use pdist command if you have Statistics and Machine Learning Toolbox with different variations of distance metrics l...

environ un mois ago | 1

Question


Insert desired number of spaces in the string contains numerical value
Hi, I need to print the below string which is in loop as 0 STR 1 where the first character ...

2 mois ago | 2 answers | 0

2

answers

Question


Correlation between two row matrices
I am trying to do correlation between two row matrices but i am getting all NaN? a = [-1 -1 -1 -1 -1 1 1 ...

6 mois ago | 1 answer | 0

1

answer

Answered
Could anyone help me to solve the issue.
Since the matrix size assigning to the variable "swarm_pos" is deifferent for each iteration, initialize the matrix as cell arra...

6 mois ago | 0

| accepted

Answered
Extracting numbers from a G-code file
I put all your given data as "gcodefile.txt" , hope help you this matchWords = {'X','Y','E'}; % Your required letters dat...

6 mois ago | 2

Question


How can I extract only large connected region with eliminating unwanted lines in the segmented binary image?
I have done segmentation operation on MRI image, in the last step i got required region with unwated lines/region. Out of that I...

6 mois ago | 1 answer | 0

1

answer

Solved


only input
Return the output without writing any code into the function.

8 mois ago

Solved


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

8 mois ago

Solved


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

8 mois ago

Solved


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

environ un an ago

Solved


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

environ un an ago

Solved


Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

environ un an ago

Solved


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

environ un an ago

Solved


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

environ un an ago

Solved


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

environ un an ago

Solved


Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

environ un an ago

Solved


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

environ un an ago

Solved


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

environ un an ago

Solved


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

environ un an ago

Solved


Getting the indices from a matrice
Getting the indices from a matrice. Inspired by Problem 645. Getting the indices from a vector by the great Doug Hull. Given a...

environ un an ago

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

environ un an ago

Solved


Reindex a vector
You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX has integers. Place th...

environ un an ago

Solved


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

environ un an ago

Solved


First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero ...

environ un an ago

Solved


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

environ un an ago

Load more