답변 있음
How can I get the Goto Source link?
Till(R2012b) now its not possible

대략 10년 전 | 0

| 수락됨

문제를 풀었습니다


Negative matrix
Change the sign of all elements in given matrix.

대략 10년 전

문제를 풀었습니다


Reverse the Words (not letters) of a String
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

대략 10년 전

문제를 풀었습니다


Back to basics 18 - justification
Covering some basic topics I haven't seen elsewhere on Cody. Given a string with extra spaces in front and/or in back, return...

대략 10년 전

문제를 풀었습니다


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

대략 10년 전

문제를 풀었습니다


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

대략 10년 전

문제를 풀었습니다


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

대략 10년 전

문제를 풀었습니다


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

대략 10년 전

문제를 풀었습니다


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

대략 10년 전

문제를 풀었습니다


Back to basics 24 - Symbolic variables
Covering some basic topics I haven't seen elsewhere on Cody. Given a string algebraic expression, return the symbolic variabl...

대략 10년 전

문제를 풀었습니다


Vectorize the digits of an Integer
Create a vector of length N for an integer of N digits. x=123045; x_vec=[1 2 3 0 4 5]; I happened upon a trick to do ...

대략 10년 전

질문


Problem in Code Generation for LookUp blocks
My row and column index values are defined using variable parameters(eg: x=xRow, y=yCol, where xRow=[1 2 3],yCol=[4 5 6]). But m...

대략 10년 전 | 답변 수: 0 | 0

0

답변

질문


Radio Buttons in panel
I created two radiobuttons on panel in GUI through script.I can select both at the same time (ie) selection is not removed when ...

대략 10년 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


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

대략 10년 전

질문


How to find the value of the resolved signal at each sample time?
I checked " *signal name must resolve to simulink signal object* " option for a signal. Now how can I find its stored value at e...

대략 10년 전 | 답변 수: 0 | 0

0

답변

문제를 풀었습니다


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

대략 10년 전

문제를 풀었습니다


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

대략 10년 전

문제를 풀었습니다


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

대략 10년 전

질문


Difference between RTW Info and CoderInfo?
AbcSignal = mpt.Signal; AbcSignal.DataType = 'uint8'; %Resolution: 0.0078125 AbcSignal.Description = 'Calculated xyz'; AbcSig...

대략 10년 전 | 답변 수: 0 | 0

0

답변

문제를 풀었습니다


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

대략 10년 전

문제를 풀었습니다


Add two numbers
Add two numbers (For beginners)

대략 10년 전

문제를 풀었습니다


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

대략 10년 전

질문


How can I get the Goto Source link?
I want to get the goto block's *Goto Source* link through MATLAB Command. In get_param(gcb,'DialogParameters') only GotoTag and ...

대략 10년 전 | 답변 수: 1 | 1

1

답변

문제를 풀었습니다


What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

대략 10년 전

문제를 풀었습니다


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

대략 10년 전

문제를 풀었습니다


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

대략 10년 전

문제를 풀었습니다


Sum the Digits of a Number
Given an integer, sum the digits repeatedly until you end up with a single value less than 10. For example, if you add the di...

대략 10년 전

문제를 풀었습니다


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

대략 10년 전

문제를 풀었습니다


MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

대략 10년 전

문제를 풀었습니다


Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

대략 10년 전

더 보기