Domanda


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

oltre 7 anni fa | 2 risposte | 1

2

risposte

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

oltre 7 anni fa | 0

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

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

oltre 7 anni fa | 0

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa