Udit Dhand
2018 年からアクティブ
Followers: 0 Following: 0
統計
All
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...
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年以上 前 | 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...
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年以上 前 | 1
| 採用済み
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
6年以上 前
回答済み
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...
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年以上 前 | 2
| 採用済み
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
回答済み
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...
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年以上 前 | 0
質問
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年以上 前 | 1 件の回答 | 0