Community Profile

photo

Chandler Hall


Last seen: mer än ett år ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Why does my else doesnt work?
You can use conditional statements to modify a variable directly, known as logical indexing. Try: d(d < 0) = 360 + d(d < 0) Se...

mer än ett år ago | 1

Answered
How to edit text box
fig = uifigure; edit = uieditfield(fig, 'numeric'); btn = uibutton(fig, 'position', [200 100 100 22]); label = uilabel(fig, '...

mer än ett år ago | 0

Answered
Error message when running code: "Dimension argument must be a positive integer scalar"
x=zeros(size(n,q)) Perhaps you intend: x = zeros(size(n, 1), numel(t));

mer än ett år ago | 0

Answered
what is inline(vectorize function), also why to use fliplr for this?
Vectorize just adds some '.' to a string so that it might be used as a vectorized function, i.e., >> vectorize('(x^3)/y') an...

mer än ett år ago | 0

| accepted

Answered
Absolute error for Intergration
It is much more convenient if you paste the actual text of the script instead of an image, or attach the entire .m file with the...

mer än ett år ago | 0

Answered
GUI question: a button once clicked allows the user to choose a variable from the base workspace to load.
You can obtain a cell array of the names of variables in the base workspace with the command evalin('base', 'who'). You can then...

mer än ett år ago | 0

| accepted

Answered
Error using / Arguments must be numeric, char, or logical. what should I do I tried but did not seem to work?
To create a symbolic function, you must first declare it via the syms function, and then define its content. The syntax for this...

mer än ett år ago | 1

Answered
Control location of exponent on a colorbar
Your recommendation led me to this article about undocumented properties. In particular, we are interested in the SecondaryLabel...

mer än ett år ago | 6

| accepted

Answered
how to Write a script that asks for a number n and nxn matrix with a Normal distribution with mean 0 and std 1?
The normal distribution with mean 0 and std 1, known as the standard normal distribution, is indeed the default distribution use...

mer än ett år ago | 0

Answered
Newton Method code has infinite loop and an unrecognizable function x_n.
The code you have so far will require a number of revisions before it gives the desired result. The principal issue is that the ...

mer än ett år ago | 0

Answered
Plotting Summation Function in matlab
Does adding the line: [n, t] = meshgrid(n, t); sum_parts = ... produce the desired output?

mer än ett år ago | 0

Answered
How can I escape this loop and draw the diagram? (Find minimum of a function using Bisection method)
A couple issues with the exit condition for the while loop: the algorithm ultimately produces an interval [a, b] with a width o...

mer än ett år ago | 0

| accepted

Answered
how do I change the contrast of a video?
By default, videos are created using lossy compression which will remove fine details. Consider img = ... v = videowrite...

mer än ett år ago | 0

| accepted