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

mer än 7 år 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?

mer än 7 år 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...

mer än 7 år 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...

mer än 7 år 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...

mer än 7 år ago | 0

Solved


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

mer än 7 år ago

Solved


Free passes for everyone!
THIS PROBLEM IS TEMPORALLY DECOMMISSIONED WHILE IT IS UPDATED. PLEASE WAIT _Simply return the name of the coolest numerical c...

mer än 7 år ago

Solved


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

mer än 7 år ago