Community Profile

Professional Interests: Model Based Design, MATLAB coding

Contact

Top 1% contributor

Close MATLAB with keyboard without using mouse

Solve this!

1

2 years ago

There is only one person who is older than this universe. He is Indian version of Chuck Norris.

0

How to save MATLAB session to a file?

Divide integers a and b in such a way that output y is always an integer (in ceil manner)

Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

Given a set of 2 vectors x and y related in a certain way, you are supposed to find value of y (ydash) given a particular value ...

Given an input number x, create a Mirror Image matrix 'Y' across anti-diagonal in following way:- Example:- If x=3, Y= [1 ...

For example, if n=2 (maximum value), the output matrix should be [1 1 1 1 1; 1 2 2 2 1; 1 2 1 2 1; 1 2 2 2 1; 1...

Implement full adder circuit as given in <http://en.wikipedia.org/wiki/Adder_(electronics)> Inputs signals are a, b and ...

Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

1 year ago

Given a tic tac toe board: * 1 represents X * 0 represents empty. * -1 represents O It is X's move. If there is an imme...

Create a row array from 9 to 1, using the double colon operator.

Sum the elements of a square matrix that lie on either the major diagonal or anti-diagonal.

Covering some basic topics I haven't seen elsewhere on Cody. Given a string algebraic expression, return the symbolic variabl...

Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

Given an integer, sum the digits repeatedly until you end up with a single value less than 10. For example, if you add the di...

Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...

You have a deck of _N_ cards numbered in order from 1 to _N_. You discard the top card (card 1) and place the next card (card 2)...

This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get the <http://www.ma...

The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

Find the eigenvalues y for a given matrix x.

Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...

The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

Specifies how many digits in a given integer. Example: in=100 ==> out=3

Covering some basic topics I haven't seen elsewhere on Cody. Given a string with extra spaces in front and/or in back, return...

You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

Load more