WAT
2015년부터 활동
Followers: 0 Following: 0
Feeds
답변 있음
How to remove unwanted elements of a array
If you want to get rid of indices 1 through 3 (for example) then array(1:3) = [];
How to remove unwanted elements of a array
If you want to get rid of indices 1 through 3 (for example) then array(1:3) = [];
9년 초과 전 | 1
답변 있음
How can I automatically create n variables in a matlab function
As far as I can tell a cell array will absolutely do what you want it to. For example, A = cell(1,2); A(1) = {[1,2]}; A...
How can I automatically create n variables in a matlab function
As far as I can tell a cell array will absolutely do what you want it to. For example, A = cell(1,2); A(1) = {[1,2]}; A...
9년 초과 전 | 0
답변 있음
Creating a diary that is not appended to an existing one.
if (exist(filename)) delete(filename); end
Creating a diary that is not appended to an existing one.
if (exist(filename)) delete(filename); end
9년 초과 전 | 1
답변 있음
two variables with known values in equations; use loop in matlab
It's a little unclear from your question, but if you mean you have 3 dependent variables (x,y,z) each observed at 5 different va...
two variables with known values in equations; use loop in matlab
It's a little unclear from your question, but if you mean you have 3 dependent variables (x,y,z) each observed at 5 different va...
9년 초과 전 | 1
답변 있음
Count the number of occurrences of elements in second column
Try something like [uniqNames, ia, ic] = unique(Activities(:,2)); % find unique days ia = [ia; 1+length(ic)]; Result ...
Count the number of occurrences of elements in second column
Try something like [uniqNames, ia, ic] = unique(Activities(:,2)); % find unique days ia = [ia; 1+length(ic)]; Result ...
9년 초과 전 | 0
답변 있음
EMERGENCY! A mistake or bug? Could you help me?
From your post: The answer produced by matlab is (u11 - x1)^2 + (u12 - x2)^2 + (u13 - x3)^2...
EMERGENCY! A mistake or bug? Could you help me?
From your post: The answer produced by matlab is (u11 - x1)^2 + (u12 - x2)^2 + (u13 - x3)^2...
9년 초과 전 | 1
답변 있음
How to use for loops to calculate the determinant of the first n powers of 2x2 matrix (A) without using the implicit Matlab command "det"
You're going to want a function that takes A and n as inputs and either returns a string or nothing at all. That would look l...
How to use for loops to calculate the determinant of the first n powers of 2x2 matrix (A) without using the implicit Matlab command "det"
You're going to want a function that takes A and n as inputs and either returns a string or nothing at all. That would look l...
9년 초과 전 | 0
| 수락됨
답변 있음
Cell array display within if statements
It looks like your different cases are being applied differently by the MATLAB accelerator. For example, when I set feature...
Cell array display within if statements
It looks like your different cases are being applied differently by the MATLAB accelerator. For example, when I set feature...
9년 초과 전 | 0
| 수락됨
답변 있음
Is it possible to make alias for a variable?
The short answer is no, you're describing something similar to a pointer.
Is it possible to make alias for a variable?
The short answer is no, you're describing something similar to a pointer.
9년 초과 전 | 0
답변 있음
Solve the following equation systems using the inverse matrix and MATLAB
Start by checking out <http://www.mathworks.com/help/matlab/ref/mldivide.html backslash> and <http://www.mathworks.com/help/matl...
Solve the following equation systems using the inverse matrix and MATLAB
Start by checking out <http://www.mathworks.com/help/matlab/ref/mldivide.html backslash> and <http://www.mathworks.com/help/matl...
9년 초과 전 | 0
답변 있음
Cubic Spline Interpolation and Plotting??? Question inside
http://www.mathworks.com/help/matlab/ref/spline.html Pay attention to the examples.
Cubic Spline Interpolation and Plotting??? Question inside
http://www.mathworks.com/help/matlab/ref/spline.html Pay attention to the examples.
9년 초과 전 | 0
답변 있음
How can I sum all elements of a defined vector 'V' that are greater than a scalar value of 'N', that is also pre-defined?
Try V_sum = sum(V1(V1 > N));
How can I sum all elements of a defined vector 'V' that are greater than a scalar value of 'N', that is also pre-defined?
Try V_sum = sum(V1(V1 > N));
9년 초과 전 | 1
| 수락됨
답변 있음
Hermitian transpose of a vector with complex elements
Isn't that just the ' operator? IE, if v is your vector then you want v'?
Hermitian transpose of a vector with complex elements
Isn't that just the ' operator? IE, if v is your vector then you want v'?
9년 초과 전 | 0
답변 있음
How to shade area of Integral
It sounds like you want the area() function. http://www.mathworks.com/help/matlab/ref/area.html
How to shade area of Integral
It sounds like you want the area() function. http://www.mathworks.com/help/matlab/ref/area.html
9년 초과 전 | 0
답변 있음
Remove duplicate variables depending on a variable in a second column
Give something like this a try: ppn = [ {'BG1026';'BG1027';'BG1027';'BG1028';'BG1028';'BG1028';'BG1029';'BG1029';... 'B...
Remove duplicate variables depending on a variable in a second column
Give something like this a try: ppn = [ {'BG1026';'BG1027';'BG1027';'BG1028';'BG1028';'BG1028';'BG1029';'BG1029';... 'B...
9년 초과 전 | 1
| 수락됨
답변 있음
Interpolating with predefined max and min values
This strikes me as a homework question, which may end up requiring a very different format of an answer. Are you simply generat...
Interpolating with predefined max and min values
This strikes me as a homework question, which may end up requiring a very different format of an answer. Are you simply generat...
9년 초과 전 | 0
답변 있음
How to add different colours to positive and negative regions of area plot?
The problem is that the area command is drawing lines from the actual data points to the zeroed out data, rather than connecting...
How to add different colours to positive and negative regions of area plot?
The problem is that the area command is drawing lines from the actual data points to the zeroed out data, rather than connecting...
9년 초과 전 | 0