Steven H
Followers: 0 Following: 0
MATLAB
Spoken Languages:
English
Statistiche
RANK
19.109
of 289.928
REPUTAZIONE
2
CONTRIBUTI
5 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
60.0%
VOTI RICEVUTI
1
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
11 mesi fa
How to make a tridiagonal matrix (N-1)*(N-1), with different values in the first row?
A = (-2 + 16*h^2)*eye(n-1); % Create the diagonal I = [2:n:numel(A), n:n:numel(A)]; % Indices of off-diagonal elements A(I) = ...
11 mesi fa | 0
Risolto
Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.
oltre un anno fa
Risolto
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
oltre un anno fa
Risolto
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
oltre un anno fa
Risolto
The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...
oltre un anno fa
Domanda
How can I remove the option to close a figure in a ToolGroup?
With the snippet of code below I can create a nice looking interface and a figure in which I can create all sorts of controls. H...
quasi 2 anni fa | 1 risposta | 0
1
rispostaDomanda
fmincon does not produce similar result due to automatic scaling?
I'm starting to believe that somewhere within fmincon things are scaled using the objective function value. Whether it's the con...
quasi 2 anni fa | 1 risposta | 0
1
rispostaDomanda
What is a good optimization algorithm for a binary constraints function?
I'm using fmincon at the moment but one of the equality constraints functions that I have can only output a logical array. This ...
oltre 2 anni fa | 0 risposte | 0
0
risposteDomanda
What is an efficient way to use a sum of objective functions for fmincon?
I'm preparing to use fmincon with an objective function that is a sum of (weighted) functions, such that the user of the program...
oltre 2 anni fa | 1 risposta | 0
1
rispostaWhy does resetting a 0x0 cell property value result in 0x1 cell?
Turns out, there is a setter that forces the input to be a column vector by doing e.g. c = {1, 2}; c(:) To complete the MWE, ...
quasi 3 anni fa | 1
| accettato
Domanda
Why does resetting a 0x0 cell property value result in 0x1 cell?
I unfortunately cannot share the code, because it's confidential. I have tried to create a MWE, but it appears not to recreate t...
quasi 3 anni fa | 2 risposte | 0