Solved

Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

7 Tage ago

Solved

MATLAB Basic: rounding IV

7 Tage ago

Solved

Create vector as shown in test cases
Create vector as shown in test cases

7 Tage ago

Solved

Transpose of matrix
Transpose of matrix as per test cases

7 Tage ago

Solved

Zero Cross
Write a function that counts the number of times n a signal x changes sign. Examples x = [1 2 -3 -4 5 6 -7 8 -9 10 11] ...

7 Tage ago

Solved

Check if a rotated array was originally sorted
Suppose a sorted array is rotated at some pivot unknown to you. For example, |[0 1 2 4 5 6 7]| might become |[5 6 7 0 1 2 4]|. ...

7 Tage ago

Solved

Gapful numbers
If a number is divisible by the number formed by the first and last digit of that number then it is defined as a gapful number. ...

7 Tage ago

Submitted

Image Encryption using AES-256 CBC mode
Encrypt images of any size using AES-256 encryption in the CBC mode

How can I sample n elements from each column of a matrix?
B=A(randi(size(A,1),2,size(A,2))+(0:size(A,2)-1)*size(A,1));

8 Tage ago | 0

| accepted

I have no idea whether this code is correct or not
Each row of the f matrix is the next progression. You might need to play with it some, but the below concept should work for you...

8 Tage ago | 0

How can I express this very long summation in Matlab? I'm having trouble
I believe that below should work for you. I did not try it out since you did not provide all the information, but you have to co...

8 Tage ago | 0

| accepted

How do I run multiple "for" loops simultaenously in MATLAB?
Just need one continuous loop. Just repeat commands until 3 and 5 seconds realign. writeDigitalPin(a, 'D13', 1); while 1 ...

8 Tage ago | 0

Solved

Coin distribution
Imagine, u r in a shop. ur bill is n(2200). u want to pay the bill with minimum no of coins u have. u've coins of - 2000,1000...

8 Tage ago

Solved

Anagram
Given two strings, check whether they're anagrams to each other or not.

8 Tage ago

how to write these two equations
Not sure what Tj means in the equation. for k=1:K for j=1:K if j~=K R(j,k)=B/2*log2(1+(h(k)*a(j))^2...

8 Tage ago | 0

how to write this equation
Assuming p and m arrays previously established and e,B, and K are scalar. R=B/2*log2([((1-e)*p(1:K-1)+m(1:K-1))./(p(2:K)-e*p(1:...

8 Tage ago | 0

Same Rows between two matrix
isequal(sortrows(A),sortrows(B));

8 Tage ago | 0

| accepted

Solved

How brilliant are you?
A Brilliant number is defined as a number with two prime factors, both of which have the same number of digits. Some examples: ...

8 Tage ago

Solved

I'm going to enjoy watching you calculate, Mr Anderson
Smith numbers are numbers such that if you add up all of the digits in the number, that sum equals the sum of all of the digits ...

8 Tage ago

Solved

Exponents in Factorials
It's time to get excited about numbers!!! Well, we're just dealing with factorials here, but it's still a good reason to get ex...

8 Tage ago

Solved

Transposition as a CIPHER
This all about transcripting a text message. If the input string is: *s1 = 'My name is Sourav Mondal'*, then the output is: *s2...

8 Tage ago

Solved

Find index of non empty cell array
This question aims to understand the characteristics of MATLAB programs. Educational problem. Please find non empty index of ...

8 Tage ago

Solved

Find the index of elements in a string vector
In the vector of v, find the index of elements specified by a. v = ["Lion","Koara","Elephant","Snake","Dog","Cat","Camel"]; ...

8 Tage ago

Solved

3rd side of a Triangle
Given two sides of a triangle, find the minimum and maximum possible area of the triangle. the length of the third side has t...

8 Tage ago

Solved

\$10,000 sequence
Find the nth term of the Hofstadterâ€“Conway sequence and its chaotic cousin. <https://en.wikipedia.org/wiki/Hofstadter_sequenc...

8 Tage ago

Solved

Sum! Sum! Sum!
Calculate the sum of the sequence up to nth term >> a,aa,aaa,aaaa,... 2,22,222,2222,... [for a=2]

8 Tage ago

Solved

Performance - summation
Given a vector of natural numbers x = [1,2,3,...,N] compute the sum of its elements by not stressing the machine too much...

9 Tage ago

Solved

Probabilities - Balls and urns - 02
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

9 Tage ago

Solved

Probabilities - Balls and urns - 01
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

9 Tage ago

Solved

Area of polygon
Given the vertices in vectors X,Y, return the area of the polygon they define.

9 Tage ago