photo

Dan Po


California Institute of Technology

Active since 2016

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • Thankful Level 1
  • First Answer
  • Promoter
  • Commenter
  • Solver

View badges

Feeds

View by

Answered
fprintf Multiple Lines?
it doesnt seem to be working for me. Im getting repeated fprintf's when i enter: y1=3 fprintf('filler fillerfiller fi...

8 years ago | 0

Answered
Seperating evens and odds
xevens=x(rem(x,2)==0) how many ways are there to do this?

8 years ago | 0

Answered
Error: "MATLAB cannot run this file because c:\~~~ shadows it. delete shadowing file and try again"
doesnt help me,the file name is not found.

8 years ago | 0

Answered
I need to make MUSIC on matlab
OMG I LOVE THIS POST clear tic notes={'C' 'C#' 'D' 'Eb' 'E' 'F' 'F#' 'G' 'G#' 'A' 'Bb' 'B'}; freq=[261.6 277.2 293.7 311...

8 years ago | 0

Question


Matlab live script does not output the same as regular script.
This script run as live script does not run the same as running as normal script. It runs as expected as normal script, but with...

8 years ago | 2 answers | 1

2

answers

Answered
While loop question, one too many loops happens.
Could someone refer me to a place that tells how to qualify inputs?

8 years ago | 0

Question


While loop question, one too many loops happens.
I want the counter to stop counting once the value '1' is entered. If '1' is entered when running this script, the while loop ru...

8 years ago | 2 answers | 0

2

answers

Question


How could i shorten my for loop code?
I made a script to print out a diamond, but would like to make my script shorter. Only for loops are allowed. Is there a differe...

8 years ago | 1 answer | 0

1

answer

Answered
Can someone please help me with plotting this function of the Gaussian Beam wavefront radius?!
calculate: w0, lambda and set them as variables. i am guessing lambdaL=248 clc clear close % w0=4; lambda=2; z=1:1000...

8 years ago | 0