monika shivhare
Indian Institute of technology, BHU, Varanasi
Followers: 0 Following: 0
Statistics
RANK
1 814
of 292 709
REPUTATION
34
CONTRIBUTIONS
0 Questions
11 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
7
RANK
of 19 934
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
ungefär 6 år ago
How to divide this array problem ?
data = [6 7 5 3 4 1 2]; dataA =[data(1) data(2:2:end)]; dataB =[data(1:2:end)];
ungefär 6 år ago | 1
| accepted
i want to get the max value from a column matrix from a specific no of rows ?
Let A is your given data column matrix, and m is matrix of maximums of each 8760 rows m=zeros(30,1); for i=1:30 m...
ungefär 6 år ago | 0
| accepted
using find function and logical array
find(M) takes the matrix given in argument M, and returns matrix of indexes in M where value at that index in M is not zero. Z=...
ungefär 6 år ago | 1
Plot where x axis is the date, Part 2 (edited)
xlim(datetime([2016 2018],[4 5],[20 18])) xtickformat('dd-MMM-yyyy')
ungefär 6 år ago | 0
I dont know how to solve the below question. I'm completely lost on where to even begin. I understand the fprintf, just the sin and cos always throw me off. Any direction would even be greatly appreciated
x=0:0.1:1; f=sin(x./(1+x)); for i=1:length(x) fprintf('%0.8f %0.8f\n',x(i),f(i)); end
ungefär 6 år ago | 0
| accepted
Plotting a column of a matrix as function of the others
make a meshgrid using values of X and Y [x,y] = meshgrid(X,Y); make a surfaceplot surf(x,y,Z) refer to link <htt...
ungefär 6 år ago | 0
How can I save multiple plots in a specified folder?
To off visibility of figures on screen set(0,'DefaultFigureVisible','off') To save all figures in specified folder, ...
ungefär 6 år ago | 4
ismember error message "Subscript indices must either be real positive integers or logicals."
[Lia,Locb] = ismember(X,Y) Determines which elements of X are also in Y as well as their corresponding locations in B. Locb i...
ungefär 6 år ago | 1
How to count black pixels block by block in an image I divided into 16x16 blocks?
Assuming that if count(number of black pixels in a block) exceeds a certain threshold, you want to change the edges of block to ...
ungefär 6 år ago | 0
| accepted
how to find muu^k in the image show (this was related to multiobjective)?
Based on what the image describes, assuming you are giving (F,Fmax,Fmin,M,N) as input, normalized membership function can be cal...
ungefär 6 år ago | 0
| accepted
Solved
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
ungefär 6 år ago
Solved
Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...
ungefär 6 år ago
Solved
Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...
ungefär 6 år ago
Solved
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
ungefär 6 år ago
Solved
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
ungefär 6 år ago
Solved
Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...
ungefär 6 år ago
Solved
Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...
ungefär 6 år ago
Solved
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
ungefär 6 år ago
Solved
Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...
ungefär 6 år 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...
ungefär 6 år ago
Solved
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
ungefär 6 år ago
Solved
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
ungefär 6 år ago
Solved
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
ungefär 6 år ago
Solved
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
ungefär 6 år ago
Solved
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
ungefär 6 år ago
Solved
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
ungefär 6 år ago
Solved
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
ungefär 6 år ago
Solved
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
ungefär 6 år ago