photo

xiexiezaijian


Last seen: oltre 2 anni fa Attivo dal 2016

Followers: 0   Following: 0

Messaggio

A USTCer major in physics and do the research with the help of MATLAB.

Statistica

All
MATLAB Answers

0 Domande
4 Risposte

Cody

0 Problemi
622 Soluzioni

RANK
3.961
of 301.985

REPUTAZIONE
14

CONTRIBUTI
0 Domande
4 Risposte

ACCETTAZIONE DELLE RISPOSTE
0.00%

VOTI RICEVUTI
5

RANK
12.316 of 21.479

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK
326
of 177.893

CONTRIBUTI
0 Problemi
622 Soluzioni

PUNTEGGIO
5.170

NUMERO DI BADGE
3

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • First Review
  • Knowledgeable Level 1
  • First Answer
  • Triathlon Participant
  • Scavenger Finisher
  • Scholar
  • Commenter
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


ASCII Birthday Cake
Given an age and a name, give draw an ASCII birthday cake. For example, given the name "CODY" and the age 5, return a string wit...

quasi 9 anni fa

Risolto


Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

quasi 9 anni fa

Risolto


Energy of a photon
Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

quasi 9 anni fa

Risolto


How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

quasi 9 anni fa

Risolto


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

circa 9 anni fa

Risolto


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

circa 9 anni fa

Risposto
How to draw the collision of two ball with Matlab?
I think using these built-in functions will help: 1. handle01 = plot([X1,X2],[Y1,Y2],'.','MarkerSize',10);% draw two points t...

quasi 10 anni fa | 2

| accettato

Risposto
Please I need help in MATLAB!!
since no loops and no bin2dec, this work could be done using the definition of binary number and vecterization operation. Take b...

quasi 10 anni fa | 1

Risposto
How to do it?
I see, if no boundary, it will be easy with the help of built-in functions: 1. [x,y] = meshgrid(input arguments)% get the mes...

quasi 10 anni fa | 1

Risolto


Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...

quasi 10 anni fa

Risolto


What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

quasi 10 anni fa

Risolto


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

quasi 10 anni fa

Risolto


Simple date to serial no. conversion
Convert a date string to a serial date number. For example if you take x='19-May-2001' then the result is 730990 x...

quasi 10 anni fa

Risolto


Volume of a sphere given its surface area
You just measured its surface area, that is the input.

quasi 10 anni fa

Risolto


Remove the Zero
Given an array n, remove all zeros

quasi 10 anni fa

Risolto


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

quasi 10 anni fa

Risolto


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

quasi 10 anni fa

Risolto


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

quasi 10 anni fa

Risolto


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

quasi 10 anni fa

Risolto


Square a Number
Given an input x, return y, which is equal to the square of x.

quasi 10 anni fa

Risolto


Multiples of a Number in a Given Range
Given an integer factor _f_ and a range defined by _xlow_ and _xhigh_ inclusive, return a vector of the multiples of _f_ that fa...

quasi 10 anni fa

Risolto


root?
* Given a function 'foo', and a position 'there', find the root near 'there'. * For example: If foo=@sin, and there=3.1, then r...

quasi 10 anni fa

Risolto


Getting the indices from a matrice
Getting the indices from a matrice. Inspired by Problem 645. Getting the indices from a vector by the great Doug Hull. Given a...

quasi 10 anni fa

Risolto


Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

quasi 10 anni fa

Risolto


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

quasi 10 anni fa

Risolto


Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

quasi 10 anni fa

Risolto


square number
Square a number

quasi 10 anni fa

Risolto


Area of a circle
Find the value for area of the circle if diameter is given

quasi 10 anni fa

Risolto


Elapsed time is -0.005204 seconds.
Write a function that takes less than zero seconds to execute, as measured using tic and toc. For repeatability, the test case p...

quasi 10 anni fa

Carica altro