Steven H
Followers: 0 Following: 0
Programming Languages:
MATLAB
Spoken Languages:
English
MATLAB
Spoken Languages:
English
統計
All
Feeds
質問
Strange display of 2D axes within panel in new MATLAB version
I'm upgrading from R2017b to R2024a and I'm experiencing strange results in 2D plotting in the new version. See below for exampl...
6ヶ月 前 | 0 件の回答 | 0
0
回答質問
Different output using mldivide with newer matlab version
Problem introduction I have a simple system of 4 linear equations with 4 unknowns, which can be written as . The content of the...
6ヶ月 前 | 1 件の回答 | 1
1
回答解決済み
Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
1年以上 前
回答済み
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) = ...
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) = ...
1年以上 前 | 0
解決済み
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.
2年弱 前
解決済み
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
約2年 前
解決済み
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
2年以上 前
解決済み
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...
2年以上 前
質問
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...
2年以上 前 | 1 件の回答 | 0
1
回答質問
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...
2年以上 前 | 1 件の回答 | 0
1
回答質問
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 ...
約3年 前 | 0 件の回答 | 0
0
回答質問
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...
3年以上 前 | 1 件の回答 | 0
1
回答回答済み
Why 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, ...
Why 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, ...
3年以上 前 | 1
| 採用済み
質問
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...
3年以上 前 | 2 件の回答 | 0