Faculty member in civil & environmental engineering

Solved

Long-digit Subtraction

Suppose you need to subtract a very large integer from another integer. <http://www.mathworks.com/matlabcentral/cody/problems/56...

16 hours ago

Solved

COUNT LETTERS

Count the number of letters in a given string. For Example: STR='The MAtlAb code'; output:T 2 H 1 E 2 M 1 A 2 L 1 B 1 C ...

19 hours ago

Solved

Reverse CHECKBOX MATRIX with 69

Create a reverse checkbox matrix with '69'. Where the size is the input and output will be a square checkbox matrix. Exa...

22 hours ago

Solved

A kind of decryption

Please convert the vector to letters by referring to the examples below. (eg.1) input vec=[34 1 59] >>> output s='A Z' (eg...

1 day ago

Solved

Clock Hand Angle 1

Given a time in HH:MM:SS, find the smallest angle (in degrees) between the hour and minute hand

3 days ago

Solved

Make a diamond

Given n, odd number > 1, return n by n matrix consist of "null" and "*" characters arranged like a diamond. No toolbox funct...

3 days ago

Solved

CARDS PROBLEM

Read my mind and tell me the card number that I have now in my hands.

4 days ago

Solved

Pentagonal dodecahedron

<<https://upload.wikimedia.org/wikipedia/commons/7/73/Dodecahedron.gif>> Pentagonal dodecahedron is a dodecahedron that is ...

4 days ago

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.

4 days ago

Solved

cofactor matrix

given a matrix, find its cofactor matrix <https://en.wikipedia.org/wiki/Minor_(linear_algebra)#Inverse_of_a_matrix>

4 days ago

Solved

Please check if calorie intake is less than 300 kcal.

I like eating some puddings and some chocolate cookies around 3 o'clock. However, I care about calorie intake. Please check whe...

5 days ago

Solved

Let's make puddings !

We will make puddings with eggs, milk and sugar. To make one pudding, we need one egg, 140(cc) of milk, 15 (g) of sugar. Now W...

5 days ago

Solved

I hope to lose weight healthily...

In order to reduce weight healthily, weight will be reduced by 4% every month. Please calculate how many months it will take...

5 days ago

Solved

Friday or not

I love Friday. Please tell me whether the day is Friday. Dateformat is 'yyyy-mm-dd' or 'dd-mmm-yyyy' or 'mm/dd/yyyy'. Exa...

5 days ago

Solved

Add 3 (x<=100) Or Subtract 100 and add 3(100<x)

Add 3 to every element. However, if the value is greater than 100, subtract 100 and add 3. eg. input x = [45 106; 67 1...

5 days ago

Solved

Rule of mixtures (composites) - lower and upper bounds (volumes)

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

6 days ago

Solved

Rule of mixtures (composites) - other bound

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

6 days ago

Solved

DC-DC boost converter

Find the output voltage of a DC-DC boost converter when its input voltage is 12V and the duty cycle ratio is 0.6.

7 days ago

Solved

Modulation index

The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

7 days ago

Solved

Find 100 from a Matrix and Replace With 0 with less computation time

pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

7 days ago

Solved

Rule of mixtures (composites) - either bound

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

7 days ago

Solved

Rule of mixtures (composites) - lower and upper bounds

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

7 days ago

Solved

Rule of mixtures (composites) - lower bound

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

7 days ago

Solved

Rule of mixtures (composites) - upper bound

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

7 days ago