Venkatanarasimha Hegde
R.V. College of Engineering
Followers: 0 Following: 0
Mechanical engineering student with interests in research and development.
Programming Languages:
Python, C++, C, C#, MATLAB
Spoken Languages:
English, Hindi
Professional Interests:
Combustion and Turbomachinery, Fluid Mechanics, Thermodynamics and Heat Transfer
Python, C++, C, C#, MATLAB
Spoken Languages:
English, Hindi
Professional Interests:
Combustion and Turbomachinery, Fluid Mechanics, Thermodynamics and Heat Transfer
Feeds
已解决
matrix zigzag
Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...
1 year 前
已解决
Go to the head of the class!
You're given a matrix and a single number. If that number is in the matrix, reorder the matrix so that number is in the first r...
1 year 前
已解决
A matrix of extroverts
Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...
1 year 前
已解决
Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
1 year 前
已解决
Must be in the front row...
You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...
1 year 前
已解决
Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...
1 year 前
已解决
Too Many Zeros, Dump Them!
Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...
1 year 前
已解决
Convert matrix to 3D array of triangular matrices
Given a 2D numeric array x in which each column represents the vectorized form of an upper triangular matrix, return a 3D array ...
1 year 前
已解决
Enlarge array
Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...
1 year 前
已解决
Find the phi variation as a function of distance after solving through finite volume method.
The question is a NPTEL online course assignement question. I have put it here becuase I wanted to create a problem set for nu...
1 year 前
问题
Find the phi variation as a function of distance after solving through finite volume method.
The question is a NPTEL online course assignement question. I have put it here becuase I wanted to create a problem set for nu...
1 year 前 | 0 | 4 个解题者
已解决
Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...
1 year 前
已解决
Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...
1 year 前
已解决
"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...
1 year 前
已解决
Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...
1 year 前
已解决
subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.
1 year 前
已解决
middleAsColumn: Return all but first and last element as a column vector
Given input A, return all but the first and last elements, arranged as a column vector. (I.e., all dimensions after the first s...
1 year 前
已解决
Mirror Image matrix across anti-diagonal
Given an input number x, create a mirror image matrix 'Y' across the anti-diagonal. For example, if x=3, Y = [1 2 3; ...
1 year 前
已解决
Pascal's Matrix
Given an integer n ≥ 0, generate the ( _n_+1) × ( _n_+1) lower triangular <http://en.wikipedia.org/wiki/Pascal_matrix P...
1 year 前
已解决
Construct an index vector from two input vectors in vectorized fashion
Create an index vector defined by two input vectors, one defining the beginnings of one or more index ranges, and the other defi...
1 year 前
已解决
Utilizing Functions
Use this function to work for some points: function y = fcn_of_your_choice(x) y = x^2 + 2; end
1 year 前
已解决
Radiation Heat Transfer — View Factors (1)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...
1 year 前
已解决
Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?
1 year 前
已解决
Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?
1 year 前
已解决
Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...
1 year 前
已解决
Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?
1 year 前
已解决
De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...
1 year 前