Question

How to convert FORTRAN files (.F) of before 1990s to MATLAB files ?
I have files which were developed before the era of .f90 (file format of FORTRAN after 1990). I want to compile them in MATLAB. ...

environ un an ago | 1 answer | 0

### 1

Quick Reference - MATLAB Fundamentals
Yes that's available now. One can download whole 44 sheets of paper without the record projects of the course.

environ un an ago | 0

Solved

Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

environ un an ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

environ un an ago

Solved

~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...

environ un an ago

Solved

Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

environ un an ago

Solved

Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

environ un an ago

Solved

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

environ un an ago

Solved

Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

environ un an ago

Solved

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

environ un an ago

Solved

Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

environ un an ago

Solved

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

environ un an ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

environ un an ago

Solved

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

environ un an ago

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

environ un an ago

Solved

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

environ un an ago

Solved

Find max
Find the maximum value of a given vector or matrix.

environ un an ago

Solved

Inner product of two vectors
Find the inner product of two vectors.

environ un an ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

environ un an ago

Solved

Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

environ un an ago

skewness and kurtosis of a weighted distribution
The function is developed in Matlab now, Kurtosis - MATLAB kurtosis (mathworks.com), one must check this link Kurtosis - MATLAB...

environ un an ago | 0

unable to select data-points in a plot
[FDT,ROL] = rmoutliers(y); OL = y(ROL) % this would be your detected outliers in your dataset (dependent variable)

environ un an ago | 0

Numerical Analysis of Turbulent Flow over a Backward Facing Step

environ un an ago | 0

Help with a CFD code
Follow these codes, 1- mathworks.com/matlabcentral/fileexchange/57064-lid-driven-cavity-flow 2- mathworks.com/matlabcentral/fi...

environ un an ago | 0

Recommendations for book / tutorial on Probability & Statistics in MATALB
I am pretty sure, you are receiving the answer very lately, Still I would strongly recommend you to go through the courses, 1- ...

environ un an ago | 0

Question

How to solve a system of 3 or more ODEs having interdependent independent variables as independent variables of the dependent variable on the same derivative ?
Suppose, t1 = t2^2; dX/dt1 = z+4; dY/dt1 = 2*z+1; dX/dt2 = 2+3*z; dY/dt2 = 3+(z^2); (May be the question doesn't make any s...

environ un an ago | 0 answers | 0

### 0

How can I cite MATLAB in my paper?
Suppose you want to cite a reference from MATLAB for example a mesh over space shuttle nose in a research article publication in...

environ un an ago | 0

i am confused with commands for loop
r = (randi([0 10],1,10))'; r0 = r == 0; if sum(r0) == 0 disp('Zero is not found') else for i = 1:length(r) ...

environ un an ago | 0