Community Profile

photo

Abhishek Gangwar

MathWorks

Last seen: 거의 4년 전 2020년부터 활동

Followers: 0   Following: 0

연락

통계

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

배지 보기

Feeds

보기 기준

답변 있음
Image shows with imshowpair, but not with imshow
Your binary image should be 2 dimensional, if it is not convert the original image into gray cale and then create binary image, ...

거의 4년 전 | 0

| 수락됨

답변 있음
How to call python in matlab
Check if your python executable path is correct? Set the python environment with correct python executalbe first it will show ...

거의 4년 전 | 0

답변 있음
What is the benefit of learning Matlab for Engineers?
Matlab provides you a huge number of toolboxes to plot graphs, visualize complex datasets. You can use matlab to perform complex...

거의 4년 전 | 0

답변 있음
Which image is not like the others?
Compute difference of two images using "imabsdiff()" function, output of this function would be a matrix if both images are same...

거의 4년 전 | 0

| 수락됨

답변 있음
What does A=A((x:y,:) mean?
Okay, so first check that you had defined matrix 'A' in you code before trying to access it and use single paranthesis for index...

거의 4년 전 | 0

답변 있음
Understanding the output returned by anonymous function
Yes, you are right, you are invoking the function 'f' correctly but the problem is function 'f' is returning only one output whi...

거의 4년 전 | 0

| 수락됨

답변 있음
generate random sample for linear regression
You can generate random values for x1, x2 using "randperm()" function and then find out corresponding 'y' values, x1 = randperm...

거의 4년 전 | 0

답변 있음
Disp() not showing the value of the variable
The reason is, one of your argument is a decimal number and the other one is a string, try to convert decimal number into string...

거의 4년 전 | 2

| 수락됨

답변 있음
Plot a figure with 2 x-axis and a single y-axis.
clc; clear; close all; x1 = 1:40; y1 = x1.^2; line(x1,y1,'Color','r') ax1 = gca; % current axes ax1.XColor = 'r'; ax1.YC...

거의 4년 전 | 0

문제를 풀었습니다


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

거의 4년 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

거의 4년 전

문제를 풀었습니다


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

거의 4년 전

문제를 풀었습니다


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...

거의 4년 전

문제를 풀었습니다


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

거의 4년 전

문제를 풀었습니다


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

거의 4년 전

문제를 풀었습니다


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...

거의 4년 전

문제를 풀었습니다


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

거의 4년 전

문제를 풀었습니다


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

거의 4년 전

문제를 풀었습니다


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

거의 4년 전

문제를 풀었습니다


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

거의 4년 전

문제를 풀었습니다


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

거의 4년 전

문제를 풀었습니다


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...

거의 4년 전

문제를 풀었습니다


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

거의 4년 전

문제를 풀었습니다


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

거의 4년 전

문제를 풀었습니다


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

거의 4년 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

거의 4년 전

문제를 풀었습니다


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

거의 4년 전

문제를 풀었습니다


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

거의 4년 전

더 보기