Kartikay Sapra
MathWorks
Followers: 0 Following: 0
Feeds
답변 있음
Title is overraped to graph legend. How to detach them?
A workaround is to explicitly add a new line to your title by using '\n'. This approach will add a blank line between the graph ...
Title is overraped to graph legend. How to detach them?
A workaround is to explicitly add a new line to your title by using '\n'. This approach will add a blank line between the graph ...
거의 2년 전 | 0
| 수락됨
답변 있음
Discrete Time Gaussian Random Process for a sequence
In order to create sequence of IIDs that are Gausian Random Variables, use the 'normrnd' function: https://in.mathworks.com/hel...
Discrete Time Gaussian Random Process for a sequence
In order to create sequence of IIDs that are Gausian Random Variables, use the 'normrnd' function: https://in.mathworks.com/hel...
거의 2년 전 | 0
답변 있음
How to merge two datasets with different sample times
The following problem can be solved using 2 different approaches: Completely remove 'NaN' values and plot values corresponding ...
How to merge two datasets with different sample times
The following problem can be solved using 2 different approaches: Completely remove 'NaN' values and plot values corresponding ...
대략 2년 전 | 0
답변 있음
Extract structure within cell structure
To achieve the given task, create a custom function (say 'analyse') which returns a struct (say 'out') and fields of 'out’ can b...
Extract structure within cell structure
To achieve the given task, create a custom function (say 'analyse') which returns a struct (say 'out') and fields of 'out’ can b...
대략 2년 전 | 0
| 수락됨
답변 있음
Support vector machine output parameters for one-vs-one classification?
You can use the following in-built functions to compute and plot Confusion Matrix: %Assuming y is the true label vector, and pr...
Support vector machine output parameters for one-vs-one classification?
You can use the following in-built functions to compute and plot Confusion Matrix: %Assuming y is the true label vector, and pr...
대략 2년 전 | 0
| 수락됨
답변 있음
How to update global logical array from local logical array.
The issue with this approach is, whenever the size of the array is reduced, the indexing resets. Moreover, the global logical ar...
How to update global logical array from local logical array.
The issue with this approach is, whenever the size of the array is reduced, the indexing resets. Moreover, the global logical ar...
대략 2년 전 | 0
| 수락됨
답변 있음
How to sort .txt files according to their content (number values) with an if-else-condition?
Creating 2 variables which store the numbers of rows for each condition would help in finding the condition which makes up the m...
How to sort .txt files according to their content (number values) with an if-else-condition?
Creating 2 variables which store the numbers of rows for each condition would help in finding the condition which makes up the m...
대략 2년 전 | 0
| 수락됨
답변 있음
How can I iterate the excel column data in Simulink (Matlab function block)?
The following function 'xlscol' from File Exchange converts an integer to corresponding Excel column: Column Converter for Exce...
How can I iterate the excel column data in Simulink (Matlab function block)?
The following function 'xlscol' from File Exchange converts an integer to corresponding Excel column: Column Converter for Exce...
대략 2년 전 | 1
| 수락됨
답변 있음
amssymb LaTeX symbols in plots
The following documentation shows the list of supported Greek symbols and special characters (along with corresponding syntax): ...
amssymb LaTeX symbols in plots
The following documentation shows the list of supported Greek symbols and special characters (along with corresponding syntax): ...
2년 초과 전 | 0
문제
Minimum jumps to reach end of the array
Given an array of integers where each element represents the max number of steps that can be made forward from that element. Ste...
3년 초과 전 | 0 | 솔버 수: 6
문제
Right shift an array n times with constant space.
Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...
3년 초과 전 | 0 | 솔버 수: 23
문제를 풀었습니다
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, ....
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전
문제를 풀었습니다
Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전
문제를 풀었습니다
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전
문제를 풀었습니다
The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
3년 초과 전
문제를 풀었습니다
Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전
문제를 풀었습니다
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전
문제를 풀었습니다
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
3년 초과 전
문제를 풀었습니다
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
3년 초과 전
문제를 풀었습니다
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
3년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
3년 초과 전