Doddy Kastanya
Followers: 0 Following: 0
I love math and physics. Being a nuclear engineer keeps this alive.
Feeds
已回答
Filling missing points in a grid
You could try to add the following at the end of your code: hold on text(7,8,'X','color','r') If there are other points, then...
Filling missing points in a grid
You could try to add the following at the end of your code: hold on text(7,8,'X','color','r') If there are other points, then...
3 years 前 | 0
| 已接受
已回答
Need Help Coding a Gaussian Problem
You might not be using the correct data for this. For example, in your implementation x_i and x_j are simply numbers. Shouldn't ...
Need Help Coding a Gaussian Problem
You might not be using the correct data for this. For example, in your implementation x_i and x_j are simply numbers. Shouldn't ...
3 years 前 | 0
已回答
How can I find the median of each row in a matrix?
Try this (assuming that your matrix is called A): for i=1:150 x=sort(A(i,:)); median_value(i)=0.5*(x(2)+x(3)); end You will...
How can I find the median of each row in a matrix?
Try this (assuming that your matrix is called A): for i=1:150 x=sort(A(i,:)); median_value(i)=0.5*(x(2)+x(3)); end You will...
3 years 前 | 0
已回答
solve large sparse jacobian matrix (with an example)
I assume that the Jacobian matrix is needed as a part of implementing Newton's method to solve system of non-linear equations. F...
solve large sparse jacobian matrix (with an example)
I assume that the Jacobian matrix is needed as a part of implementing Newton's method to solve system of non-linear equations. F...
4 years 前 | 0
| 已接受
已回答
Matlab function solve number pattern
The following code listing should do it (ignore the zeros in the output): cnt=0; for i=1:5 for j=1:i cnt=cnt+1; ...
Matlab function solve number pattern
The following code listing should do it (ignore the zeros in the output): cnt=0; for i=1:5 for j=1:i cnt=cnt+1; ...
4 years 前 | 0
已回答
symbolic system of equations matlab
You might want to check out the information in the following link https://www.mathworks.com/help/symbolic/solve-a-system-of-alge...
symbolic system of equations matlab
You might want to check out the information in the following link https://www.mathworks.com/help/symbolic/solve-a-system-of-alge...
4 years 前 | 0
已回答
Multiplication between matrices with different dimensions
Your loop is in terms of "w"; however, in the loop "w" is not used at all. Shouldn't "i" be "w"? The pseudoinverse matrix can b...
Multiplication between matrices with different dimensions
Your loop is in terms of "w"; however, in the loop "w" is not used at all. Shouldn't "i" be "w"? The pseudoinverse matrix can b...
4 years 前 | 0
已回答
Newton's Optimization Method
The following link provides information about Hessian Matrix for a scalar function: https://www.mathworks.com/help/symbolic/hess...
Newton's Optimization Method
The following link provides information about Hessian Matrix for a scalar function: https://www.mathworks.com/help/symbolic/hess...
4 years 前 | 0
已回答
Plotting a graph on MATLAB
In order to see more "dots", you need to add "hold on" on the line after plot. However, since you want to plot it against the nu...
Plotting a graph on MATLAB
In order to see more "dots", you need to add "hold on" on the line after plot. However, since you want to plot it against the nu...
4 years 前 | 0
已回答
Add title to subplot (a), (b), (c) with already existing titles for parameters.
You might want to take a look at this posting: https://www.mathworks.com/matlabcentral/fileexchange/85453-subplotlabel/?s_tid=ml...
Add title to subplot (a), (b), (c) with already existing titles for parameters.
You might want to take a look at this posting: https://www.mathworks.com/matlabcentral/fileexchange/85453-subplotlabel/?s_tid=ml...
4 years 前 | 0
| 已接受
已回答
Add title to subplot (a), (b), (c) with already existing titles for parameters.
You probably could add the "(a)" (or b, c, d, e, or f) before specifying the beta_e and t_f in the title section.
Add title to subplot (a), (b), (c) with already existing titles for parameters.
You probably could add the "(a)" (or b, c, d, e, or f) before specifying the beta_e and t_f in the title section.
4 years 前 | 0
已回答
for loop issue not all answer printing out
Hi Anastasia, The problem is you did not store the results as a vector; therefore, when you printed out the table, only the las...
for loop issue not all answer printing out
Hi Anastasia, The problem is you did not store the results as a vector; therefore, when you printed out the table, only the las...
4 years 前 | 0
| 已接受
已回答
Inverse matrix with for loop
The way you prepare the cofactor is okay. You want to define your "k=transpose(c)" outside of the loop. The other thing that you...
Inverse matrix with for loop
The way you prepare the cofactor is okay. You want to define your "k=transpose(c)" outside of the loop. The other thing that you...
4 years 前 | 0
已回答
How do I write an equation when I have both a variable and its value for one side
The problem as you presented is non-linear and would need some manipulations before you can solve it. However, if "y=a+b" instea...
How do I write an equation when I have both a variable and its value for one side
The problem as you presented is non-linear and would need some manipulations before you can solve it. However, if "y=a+b" instea...
4 years 前 | 0
已回答
draw this figures using matlab code
The plots seem to be very straight forward to generate. You might want to try "help plot" to see various options to plot the dat...
draw this figures using matlab code
The plots seem to be very straight forward to generate. You might want to try "help plot" to see various options to plot the dat...
4 years 前 | 0
已回答
If i have a given Matrix (k x k), how can i expand it to a (n x n) matrix?
It is not clear how the B and C matrices are related to A. However, if you just want to do QR decomposition, you might want to t...
If i have a given Matrix (k x k), how can i expand it to a (n x n) matrix?
It is not clear how the B and C matrices are related to A. However, if you just want to do QR decomposition, you might want to t...
4 years 前 | 0
已回答
Plotting Two Sets of Data on 2 X Axes and 1 Y Axis
To avoid overlap of the two x-axis, you might want to use 'top' for 'XAxisLocation' for ax2.
Plotting Two Sets of Data on 2 X Axes and 1 Y Axis
To avoid overlap of the two x-axis, you might want to use 'top' for 'XAxisLocation' for ax2.
4 years 前 | 0
已回答
How can I change the colour of specific bars in a bar graph
You can create a handle on the graph and replace the properties accordingly. Here is an example. >> x=[1:10]; >> b=bar(x); >>...
How can I change the colour of specific bars in a bar graph
You can create a handle on the graph and replace the properties accordingly. Here is an example. >> x=[1:10]; >> b=bar(x); >>...
4 years 前 | 0
| 已接受
已回答
function with two inputs.
The code you have now already has the information you needed. However, you have not printed out the results yet. You need to mo...
function with two inputs.
The code you have now already has the information you needed. However, you have not printed out the results yet. You need to mo...
4 years 前 | 0