Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 6 years ago.
Improve this question
What the function argmin do here? Please explain or give any hint regarding it. I am needed to implement this function on MATLAB. Is there any direct command avaiable there?
argmin is the argument (k) that minimizes the function value (sigma_ij), so the argmin will be 1, 2, 3, or 4
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I want to know is it possible to make multidisciplinary function handle in MATLAB and if possible, how can I do this.
I assume you mean a "multivariate function" since a "multidisciplinary function" is completely non-nonsensical.
f=#(x,y)x+y
f(3,2)
ans =
5
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
(x+3)/((x^2)-3x+2)
The variable is x=1
I enter this code as is, and get the error that
x^2-3x+2
|
Error: Unexpected MATLAB expression.
here is how you do it.
x^2-3*x+2
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to make a script to show me a picture like this:
https://www.dropbox.com/s/zzx2chi0jbclf66/Figura.jpg
The code is:
a = load('file.txt');
x = a(:,1);
y = a(:,4);
area(x,y)
But not like making out two colors, I think bruh command is used but not sure?
This submission on the File Exchange might also help:
http://www.mathworks.co.uk/matlabcentral/fileexchange/7255-areashade
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
solve({4*a = 443*a1/(3.14)+a0, 7*a = 20*a1/(3.14)+a0, 105*a = 543*a1/(3.14)+a0}, {a, a1.a0});
Could someone tell me why MAPLE doens't compute this solution?
It doesn't give anything.
Thank you.
You have a typo. The second argument should be {a, a1, a0} not {a,a1.a0}
solve({4*a = 443*a1/(3.14)+a0, 7*a = 20*a1/(3.14)+a0, 105*a = 543*a1/(3.14)+a0}, {a, a1, a0});
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
This is rather a general question.
Actually I have a value x=-77 (dBm) and I want to change it to dB so the command would be y=pow2db(x). The problem is it does not accept negative values. So how do I change this to non-negative and then calcuate y?
Your comments are highly appreciated.
Thanks in advance
You can use the abs() function Matlab provides.
example:
abs([-2 2])
ans=
2 2
Still check what you are doing. Logarithms work in a special way, and you may not be wanting the logarithm of the absolute... just check :D
I would guess one of these two possibilities:
y = pow2db(abs(x))
or
y = pow2db(abs(x)) *sign(x)
Not sure whether either one of them would be meaningfull though.