photo

Maverick


Last seen: ungefär ett år ago Active since 2016

Followers: 0   Following: 0

Message

Loves automation

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

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

mer än 6 år ago | 1

| accepted

Solved


Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA'

mer än 6 år ago

Solved


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

mer än 6 år ago

Solved


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.

mer än 6 år ago

Solved


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

mer än 6 år ago

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

mer än 6 år ago | 0

Solved


most frequent character
Obtain the most frequent character. For example, s='balaram'; output='a'; If there is a tie between letters, return t...

mer än 6 år ago

Solved


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

mer än 6 år ago

Solved


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

mer än 6 år ago

Solved


Concatenate strings
concatenate a variable number of input strings to produce one outputstring

mer än 6 år ago

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

mer än 6 år ago | 1

| accepted

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

mer än 6 år ago | 0

| accepted

Solved


Space Saver
Remove all characters that are below a space in ASCII value.

mer än 6 år ago

Solved


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

mer än 6 år ago

Solved


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

mer än 6 år ago

Solved


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

mer än 6 år ago

Solved


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

mer än 6 år ago

Solved


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

mer än 6 år ago

Solved


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

mer än 6 år ago

Solved


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

mer än 6 år ago

Solved


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

mer än 6 år ago

Solved


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

mer än 7 år ago

Solved


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

mer än 7 år ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

nästan 8 år ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

nästan 8 år ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

nästan 8 år ago

Solved


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

nästan 8 år ago