photo

Pink_panther


Actif depuis 2012

Followers: 0   Following: 0

Message

Engineering

Programming Languages:
MATLAB, HTML
Spoken Languages:
English

Statistiques

All
  • MATLAB Flipbook Mini Hack Participant
  • MATLAB Mini Hack 2022 Participant
  • Knowledgeable Level 1
  • First Answer
  • Creator
  • CUP Challenge Master
  • 5-Star Galaxy Level 2
  • First Submission
  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • Introduction to MATLAB Master
  • Community Group Solver

Afficher les badges

Feeds

Afficher par

A résolu


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

3 mois il y a

Réponse apportée
plotting a polynomial function
%solve1 fplot(@(x)89.9659+0.1110371.*x-0.001472155.*x.^2+1.1E-5.*x.^3-4.381E-8.*x.^4+1E-10.*x.^5)

environ un an il y a | 0

Problème


A row vector, pick 1st number, skip 1,pick 3rd number, skip 2,pick,skip,etc then place all picked numbers in order in new vector
Having a row vector of number, pick the first number, place in new output vector as the first value, then skip one number, pick...

environ un an il y a | 0 | 11 solveurs

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ un an il y a

A résolu


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

environ un an il y a

A résolu


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

environ 3 ans il y a

A soumis


Text to Speech Mandarin Demo (Can mix Chinese with English)
This uses Microsoft .NET speech synthesis, with Mandarin Female voice Hanhan. Can use this in your MATLAB programming environme...

presque 4 ans il y a | 1 téléchargement |

Thumbnail

A résolu


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

environ 4 ans il y a

A résolu


Airline Ticket Mod7 Checksum
There are 13 digits in an airline ticket number. If an airline ticket number is valid, the 13th digit should be the remainder of...

environ 4 ans il y a

A résolu


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

environ 4 ans il y a

A résolu


area of a sphere

environ 4 ans il y a

A résolu


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

environ 4 ans il y a

A résolu


Max of a Vector
Write a function to return the max of a vector

environ 4 ans il y a

A résolu


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

environ 4 ans il y a

A résolu


Pattern Sum
Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as: k...

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

environ 4 ans il y a

A résolu


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

environ 4 ans il y a

A résolu


Negative Infinity
Round the given array a towards negative infinity.

environ 4 ans il y a

A résolu


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

environ 4 ans il y a

A résolu


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

environ 4 ans il y a

A résolu


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

environ 4 ans il y a

A résolu


Times 3 problem
When you enter the number, it should return the number multiplied by 3

environ 4 ans il y a

A résolu


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

environ 4 ans il y a

A résolu


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

environ 4 ans il y a

A résolu


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

environ 4 ans il y a

A résolu


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

environ 4 ans il y a

A résolu


Rounding
Round 10.67 and make 'y' equal to that number.

environ 4 ans il y a

A résolu


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

environ 4 ans il y a

A résolu


07 - Common functions and indexing 6
Create a variable _m_ as a magic square with the size 6 x 6 Magic squares are defined as square matrices, where the sum of a...

environ 4 ans il y a

Charger plus