photo

Udit Dhand


Attivo dal 2018

Followers: 0   Following: 0

Statistica

All
  • Knowledgeable Level 1
  • Solver
  • First Answer
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Risposto
How can I map to each vector entry a number telling its occurence so far?
I wasnt able to do it without using while loop vec = [1,2,3,4,2,5,2,3]; j=length(vec);k=0; while k~=j o = find...

quasi 6 anni fa | 0

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

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

circa 6 anni fa

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

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

circa 6 anni fa

Risolto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

circa 6 anni fa

Risposto
How to save uitable & uifigure into pdf file?
fig = figure('Name','Numbers'); t = uitable(fig,'Data',[2,4,6,8;1,3,5,7]); saveas(gcf,'Numbers','pdf') Apparantly th...

circa 6 anni fa | 2

| accettato

Risolto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

circa 6 anni fa

Risolto


Add two numbers
Given a and b, return the sum a+b in c.

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

circa 6 anni fa

Risolto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

circa 6 anni fa

Risposto
Assigning values for vector with number sequence
function p=fun(n,r1,r2) m=(n^2+3*n)/2; mat=[0 0]; count=1; p=ones(1,m); for j=1:n mat=[m...

circa 6 anni fa | 0

Domanda


uigetdir not working in standalone application
I have created a gui which uses uigetdir in one of the pushbuttons and it works in matlab application, but when converted to sta...

circa 6 anni fa | 1 risposta | 0

1

risposta