photo

Solarmew


University of Florida

Active since 2015

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Feeds

View by

Question


How do I launch MatLab on Windows using X11?
I'm trying to open matlab on the HPC using Putty and X11 forwarding (with Xming), but getting this error: <</matlabcentral/...

mer än 9 år ago | 0 answers | 0

0

answers

Question


Double summation and surface plot?
Could someone please show me the right way to do what I'm trying to do? Below is the description. I have a function f that ta...

mer än 9 år ago | 1 answer | 0

1

answer

Question


How can I calculate a double sum?
something like this function test syms u(x,t,r) u(x,t,r) = x + t + r ; tl = 0:2:4; rl = 1:2:5; ur = sum(...

mer än 9 år ago | 0 answers | 0

0

answers

Question


How to make a dictionary of arrays?
I can't seem to figure out how containers.Map works... It's doing ok with characters and numbers, but flips out when I try to fe...

mer än 9 år ago | 1 answer | 0

1

answer

Question


For loop and adding elements to an array. How to?
I have some function y(x). I would like to generate a list of y values for x between -10^-3 and 10^-3 in 10^-4 intervals and plo...

mer än 9 år ago | 1 answer | 0

1

answer

Question


How to make function assign variables that will stick around after the function is done running?
For example: function test(x) car.color = x; end if i first input global car I want car.color ...

mer än 9 år ago | 1 answer | 0

1

answer

Question


How to use memoization in MatLab?
if I have some function substantially more complicated than function out = y(x) out = 2*x; end but let's just go w...

mer än 9 år ago | 2 answers | 0

2

answers

Question


Integrating a multivariate function
I have a horrendous function that I need to integrate. I think I typed it into MatLab right, but here's the Mathematica version ...

mer än 9 år ago | 1 answer | 0

1

answer

Question


Unassigned variables and accessing them from outside the function
I have this code: function [zr,w,R,q,mat] = test(z) lambda = 1; w0 = 1; zr = (pi*w0^2)/lambda; w = w0*sq...

mer än 9 år ago | 2 answers | 0

2

answers

Question


How can I make MatLab output unassigned variables?
I'm used to Mathematica, so I'm not sure how and if the same works with MatLab. Is there a way to input something like: x = 3...

mer än 9 år ago | 2 answers | 0

2

answers

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mer än 9 år ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

mer än 9 år ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mer än 9 år ago

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 9 å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 9 år ago