Udit Dhand
Followers: 0 Following: 0
Statistics
RANK
3,735
of 295,486
REPUTATION
14
CONTRIBUTIONS
1 Question
4 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
3
RANK
of 20,236
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
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...
6 years ago | 0
The mean Nusselt number for turbulent flow over a plate of length l is Nu=0.037 Re^0.8 Pr/(1+2.443Re^-0.1(Pr^2/3 -1)) , 5x10^5<Re<10^7,0.6<Pr<2000' where Re is the Reynolds number and Pr is the Prandtl number. Plot log10(Nu) as a surface that is a fu
[Re,Pr]=meshgrid(5*10^4:100000:10^7,0.6:10:2000); Z=log((0.037.*Re.^0.8.*Pr)./(1+2.443*Re.^-0.1.*(Pr.^(2/3)-1))); surf(P...
6 years ago | 1
| accepted
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...
6 years 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 ...
6 years ago
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...
6 years 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...
6 years ago
Solved
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
6 years ago
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...
6 years ago | 2
| accepted
Solved
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...
6 years 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...
6 years ago
Solved
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 ...
6 years ago
Solved
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...
6 years ago
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...
6 years ago | 0
Question
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...
6 years ago | 1 answer | 0