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

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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 ...

meer dan een jaar ago

Solved


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

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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

meer dan een jaar 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...

meer dan een jaar 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 ...

meer dan een jaar 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.

meer dan een jaar 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 ...

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar ago

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

meer dan een jaar ago | 0

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

meer dan een jaar ago | 0

Answered
Numerical Analysis of Turbulent Flow over a Backward Facing Step
Follow this comment for initialization of the values, https://www.mathworks.com/matlabcentral/answers/649843-numerical-analysis...

meer dan een jaar ago | 0

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

meer dan een jaar ago | 0

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

meer dan een jaar 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...

meer dan een jaar ago | 0 answers | 0

0

answers

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

meer dan een jaar ago | 0

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

meer dan een jaar ago | 0

Answered
How to substitute x and y with X and Y respectively and get the same result as Test1(last line of my code)
Just before your major calculations (where you are willing to use the variables X & Y), you can add a line, x = X; y = Y; The...

meer dan een jaar ago | 0

Problem


Redefine the Array if the Elements in the Array are Repeating

meer dan een jaar ago | 0 | 10 solvers

Load more