統計
All
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.
6年以上 前
解決済み
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...
7年以上 前
解決済み
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年 前