Feeds
답변 있음
how to collect variables in an aray in for loop?
Hi You have two ways to address your problem you can either use a separate variable or you use same variable with which you a...
how to collect variables in an aray in for loop?
Hi You have two ways to address your problem you can either use a separate variable or you use same variable with which you a...
6년 초과 전 | 1
| 수락됨
문제를 풀었습니다
Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA'
6년 초과 전
문제를 풀었습니다
Make a low pass filter
Make a first order low pass filter that will filter out the high frequency oscillations for the given input signal. The cut-off ...
6년 초과 전
문제를 풀었습니다
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
거의 7년 전
문제를 풀었습니다
Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...
대략 7년 전
답변 있음
Finding Line Source and Destination Port and Blocks
Hello Please see the image for the relevance of source port and Dst port. The code is perfectly fine. The problem lies in the...
Finding Line Source and Destination Port and Blocks
Hello Please see the image for the relevance of source port and Dst port. The code is perfectly fine. The problem lies in the...
대략 7년 전 | 0
문제를 풀었습니다
most frequent character
Obtain the most frequent character. For example, s='balaram'; output='a'; If there is a tie between letters, return t...
대략 7년 전
문제를 풀었습니다
How many digits are there?
Input(s) - any string Output(n) - number of digits within string s
대략 7년 전
문제를 풀었습니다
Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...
대략 7년 전
문제를 풀었습니다
Concatenate strings
concatenate a variable number of input strings to produce one outputstring
대략 7년 전
답변 있음
How to replace a simulink block name which is used in many places inside the model?
Hello This can be done using a few lines of matlab script. I have done for DataStoreRead blocks, you can extend this logic fo...
How to replace a simulink block name which is used in many places inside the model?
Hello This can be done using a few lines of matlab script. I have done for DataStoreRead blocks, you can extend this logic fo...
대략 7년 전 | 1
| 수락됨
답변 있음
here is my codes and erors, I don't know what this erors mean ?
Hello This means idx was never equal to 1 and 'Current_time_actual_load' is still an unknown variable. Try giving a default v...
here is my codes and erors, I don't know what this erors mean ?
Hello This means idx was never equal to 1 and 'Current_time_actual_load' is still an unknown variable. Try giving a default v...
대략 7년 전 | 0
| 수락됨
문제를 풀었습니다
Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...
대략 7년 전
문제를 풀었습니다
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...
대략 7년 전
문제를 풀었습니다
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
대략 7년 전
문제를 풀었습니다
Model a falling body
An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...
대략 7년 전
문제를 풀었습니다
Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>
대략 7년 전
문제를 풀었습니다
Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...
대략 7년 전
문제를 풀었습니다
Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...
대략 7년 전
문제를 풀었습니다
Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...
대략 7년 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
거의 8년 전
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
대략 8년 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
8년 초과 전
문제를 풀었습니다
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:...
8년 초과 전