Community Profile

photo

Udit Dhand


Aktiv seit 2018

Followers: 0   Following: 0

Statistiken

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

Abzeichen anzeigen

Feeds

Anzeigen nach

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

mehr als 5 Jahre vor | 0

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

fast 6 Jahre vor | 1

| akzeptiert

Gelöst


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

fast 6 Jahre vor

Gelöst


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

fast 6 Jahre vor

Gelöst


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

fast 6 Jahre vor

Gelöst


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

fast 6 Jahre vor

Gelöst


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

fast 6 Jahre vor

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

fast 6 Jahre vor | 2

| akzeptiert

Gelöst


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

fast 6 Jahre vor

Gelöst


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

fast 6 Jahre vor

Gelöst


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

fast 6 Jahre vor

Gelöst


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

fast 6 Jahre vor

Gelöst


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

fast 6 Jahre vor

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

fast 6 Jahre vor | 0

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort