Community Profile

photo

Abhishek Kumar


2019년부터 활동

Followers: 0   Following: 0

통계

All
  • Knowledgeable Level 2
  • Revival Level 2
  • First Answer
  • Solver

배지 보기

Feeds

보기 기준

답변 있음
counter with if,elseif condition
for loop=1:200 if(loop<=32) p(loop)=1; elseif(loop<=64) p(loop)=2; elseif(loop<=96) p(loop)=3; ...

거의 5년 전 | 0

답변 있음
How can i convert C Code to Simulink Models ?
You can use s-functions. The link below explains with various examples on how to go about it. https://in.mathworks.com/help/...

거의 5년 전 | 0

| 수락됨

문제를 풀었습니다


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

거의 5년 전

문제를 풀었습니다


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

거의 5년 전

문제를 풀었습니다


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

거의 5년 전

문제를 풀었습니다


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

거의 5년 전

문제를 풀었습니다


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

거의 5년 전

답변 있음
How do I obtain a license file for my installation?
It is possible that your user account only has limited permissions. You can try launcing it as an administrator. If the lice...

거의 5년 전 | 1

답변 있음
How to get all positive values of 'm' from the given domain of two variables?
i=1; j=1; cans=zeros(1,10); lans=zeros(1,10); for a=0.5:0.01:1 for b=0.5:0.01:1 d=15 *a^6 + 45* a^4* b^2 + 64*...

거의 5년 전 | 0

답변 있음
Complex vector conversion to binary bits using quantizer
It would be easier if you could give an example of want is your input and what is your expected output. Below is an example wh...

거의 5년 전 | 0

| 수락됨

답변 있음
read data from file and convert to a 3d array.
I am attaching the code below this works for data (3*3*3), make changes accordingly to suit your purpose. Also, If you wish to ...

거의 5년 전 | 0

답변 있음
How to Overwrite Data
for i= 1:100 if B(i, 1) == 0 B(i, 1)= A(i, 1); elseif B(i, 2) == 0 B(i, 2) = A(i, 1); end end T...

거의 5년 전 | 0

답변 있음
How to remove NaNs from a structure
A workaround for this would be converting the struct to matrix and then get rid of the NaNs and if you need it again convert it ...

거의 5년 전 | 0

답변 있음
Decimal to binary, bit reversal of binary and binary to decimal
Hi Riddhi What is the output you are getting and what is the output that you think you should get? I tried running the same...

거의 5년 전 | 0

답변 있음
publish tab missing in version R2019a
The publish tab does not show up for files with extensions other than '.m'. try running this in the command prompt >> edit asd...

거의 5년 전 | 0

답변 있음
Undefined function sgn(z)
Hi Advait There is no function called 'sgn' in matlab. It seems that you wanted to use 'sign' to get the sign of the variable a...

거의 5년 전 | 0

답변 있음
Matlab Coder, C-function return type
Hi Christian Functions in programming languages like 'c' and 'c++' are of a certain type, whether it be int, double, string etc...

거의 5년 전 | 0

| 수락됨

답변 있음
What does this particular code do?
Hi Petros It seems that the code provided by you is trying to replicate the sound produced after plucking the 'A' string of a g...

거의 5년 전 | 1

문제를 풀었습니다


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

거의 5년 전

더 보기