Community Profile

photo

monika shivhare


Indian Institute of technology, BHU, Varanasi

Attivo dal 2018

Followers: 0   Following: 0

Statistiche

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


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

quasi 6 anni fa

Risposto
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)];

quasi 6 anni fa | 1

| accettato

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

quasi 6 anni fa | 0

| accettato

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

quasi 6 anni fa | 1

Risposto
Plot where x axis is the date, Part 2 (edited)
xlim(datetime([2016 2018],[4 5],[20 18])) xtickformat('dd-MMM-yyyy')

quasi 6 anni fa | 0

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

quasi 6 anni fa | 0

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

quasi 6 anni fa | 4

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

quasi 6 anni fa | 1

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

quasi 6 anni fa | 0

| accettato

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

quasi 6 anni fa | 0

| accettato

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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]

quasi 6 anni fa

Risolto


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.

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Carica altro