Feeds
답변 있음
How do I display my secant method iteration values in a table?
If you want to display things nicely, you can use fprintf to format things into text. If the primary concern is getting the valu...
How do I display my secant method iteration values in a table?
If you want to display things nicely, you can use fprintf to format things into text. If the primary concern is getting the valu...
대략 3년 전 | 0
| 수락됨
답변 있음
Matalb Academy - Reinforcement Learning Onramp: submission failed
There was a change in R2021a that caused an incompatibility. We have a fix ready that will go out with the next update to the tr...
Matalb Academy - Reinforcement Learning Onramp: submission failed
There was a change in R2021a that caused an incompatibility. We have a fix ready that will go out with the next update to the tr...
3년 초과 전 | 3
답변 있음
Assign a number to a letter in excel
I don't understand what you're trying to get out of the original data. If you do diff(X2) you'll get [1 -1 0 0 0...
Assign a number to a letter in excel
I don't understand what you're trying to get out of the original data. If you do diff(X2) you'll get [1 -1 0 0 0...
거의 5년 전 | 0
답변 있음
Referencing the name "MATLAB"
The official rules for all that stuff reside in the style guide.
Referencing the name "MATLAB"
The official rules for all that stuff reside in the style guide.
5년 초과 전 | 4
| 수락됨
답변 있음
Kullback-Leibler Divergence for NMF in Matlab
If X and X_hat are just matrices, then I think you should be able to compute all the terms element-wise and sum the result (unle...
Kullback-Leibler Divergence for NMF in Matlab
If X and X_hat are just matrices, then I think you should be able to compute all the terms element-wise and sum the result (unle...
거의 6년 전 | 0
| 수락됨
답변 있음
Extract multiple data points from matrix
It might help to know a bit more about what you're actually trying to do. Given that you're indexing with (:,k), it seems that t...
Extract multiple data points from matrix
It might help to know a bit more about what you're actually trying to do. Given that you're indexing with (:,k), it seems that t...
거의 6년 전 | 0
답변 있음
How to find average score of different combination
Can you explain what you mean by "same" and "different" in this context, and how you're getting the output you want, because it'...
How to find average score of different combination
Can you explain what you mean by "same" and "different" in this context, and how you're getting the output you want, because it'...
거의 7년 전 | 0
답변 있음
Is MATLAB providing free online tutorial?
The link Image Analyst gave has all the online trainings that are available. Currently Onramp is the only one that's free*. W...
Is MATLAB providing free online tutorial?
The link Image Analyst gave has all the online trainings that are available. Currently Onramp is the only one that's free*. W...
대략 7년 전 | 1
답변 있음
How can I assign custom colors to stacked bar plot
The colors of the bars are taken from the default colormap, so the easiest solution is to change the figure's colormap. Put the ...
How can I assign custom colors to stacked bar plot
The colors of the bars are taken from the default colormap, so the easiest solution is to change the figure's colormap. Put the ...
거의 8년 전 | 3
질문
MATLAB poems -- let's hear 'em!
Inspired by Chad Greene's " <http://www.mathworks.com/matlabcentral/answers/217444-matlab-jokes-or-puns MATLAB jokes or puns> " ...
대략 8년 전 | 답변 수: 3 | 3
3
답변답변 있음
Matlab jokes or puns
Not a joke or pun, but in the spirit of MATLAB fun: There was an old math guy called Cleve who, while teaching, a pipe-d...
Matlab jokes or puns
Not a joke or pun, but in the spirit of MATLAB fun: There was an old math guy called Cleve who, while teaching, a pipe-d...
대략 8년 전 | 4
답변 있음
I need a guideline to learn MATLAB faster
You can now get started in MATLAB by taking the *free* <https://matlabacademy.mathworks.com/ MATLAB Onramp>. It teaches you the ...
I need a guideline to learn MATLAB faster
You can now get started in MATLAB by taking the *free* <https://matlabacademy.mathworks.com/ MATLAB Onramp>. It teaches you the ...
8년 초과 전 | 0
답변 있음
learn matlab for beginner
Given that you have a MathWorks.com account, the easiest way to get started with MATLAB is already freely available to you: <htt...
learn matlab for beginner
Given that you have a MathWorks.com account, the easiest way to get started with MATLAB is already freely available to you: <htt...
8년 초과 전 | 0
답변 있음
How to learn MATLAB
In addition to the online learning options Andreas mentioned, you can also get started in MATLAB by taking the *free* <https://m...
How to learn MATLAB
In addition to the online learning options Andreas mentioned, you can also get started in MATLAB by taking the *free* <https://m...
8년 초과 전 | 17
답변 있음
code to plot epicycle
Looks like a pretty standard homework problem. You have a bunch of scalar constants given, so just define those: >> T1 = 1;...
code to plot epicycle
Looks like a pretty standard homework problem. You have a bunch of scalar constants given, so just define those: >> T1 = 1;...
거의 9년 전 | 1
답변 있음
Using for loops to generate an array?
TastyPastry's answer is perfectly correct, but it's worth asking an important clarification: *why* do you want to do it with a |...
Using for loops to generate an array?
TastyPastry's answer is perfectly correct, but it's worth asking an important clarification: *why* do you want to do it with a |...
대략 9년 전 | 0
답변 있음
MATLAB Programming Techniques (online course)
I haven't *taken* the course, but I did help *write* it, so... :) As much as I hate to talk anyone out of taking our training...
MATLAB Programming Techniques (online course)
I haven't *taken* the course, but I did help *write* it, so... :) As much as I hate to talk anyone out of taking our training...
거의 10년 전 | 6
| 수락됨
답변 있음
plotyy x axis does not match
Try getting rid of the ticks on one x-axis (the one that hasn't been dateticked): set(ax(2),'XTick',[]) You may also wan...
plotyy x axis does not match
Try getting rid of the ticks on one x-axis (the one that hasn't been dateticked): set(ax(2),'XTick',[]) You may also wan...
대략 10년 전 | 0
답변 있음
Shooting method for ODE interpolation error
Set a breakpoint on line 36 and run the code. When it stops at that line, see what you get from unique(fvegpont) I'm gue...
Shooting method for ODE interpolation error
Set a breakpoint on line 36 and run the code. When it stops at that line, see what you get from unique(fvegpont) I'm gue...
대략 10년 전 | 0
| 수락됨
답변 있음
How can I import a specific matrix from an excel file using the xlsread command?
You need to use standard Excel indexing "topleft:bottomright": heightdata = xlsread('Height Data.xlsx','B3:KP5');
How can I import a specific matrix from an excel file using the xlsread command?
You need to use standard Excel indexing "topleft:bottomright": heightdata = xlsread('Height Data.xlsx','B3:KP5');
대략 10년 전 | 2
| 수락됨
답변 있음
Using a time-stamp to find the median for every hour
If you could show a snippet of one of the data files I might be able to give some more specific guidance, but I'd suggest: * ...
Using a time-stamp to find the median for every hour
If you could show a snippet of one of the data files I might be able to give some more specific guidance, but I'd suggest: * ...
대략 10년 전 | 0
답변 있음
Two basic questions in matlab
1. It won't let you. Two options: (a) pad with something, such as NaNs, (b) use cell arrays to store each matrix in a separate c...
Two basic questions in matlab
1. It won't let you. Two options: (a) pad with something, such as NaNs, (b) use cell arrays to store each matrix in a separate c...
대략 10년 전 | 1
답변 있음
Newton Raphson on Mathlab
Torsten showed how to find the roots of a polynomial. More generally, to find the zeros of any function: f = @(x) 0.5*x.^3 ...
Newton Raphson on Mathlab
Torsten showed how to find the roots of a polynomial. More generally, to find the zeros of any function: f = @(x) 0.5*x.^3 ...
대략 10년 전 | 0
답변 있음
Probability of being under a target
Counting the number of samples with a given criterion is easy enough: threshhold = pi; nnz(X < threshhold) The |ecdf|...
Probability of being under a target
Counting the number of samples with a given criterion is easy enough: threshhold = pi; nnz(X < threshhold) The |ecdf|...
대략 10년 전 | 0
| 수락됨
답변 있음
Conditionally Flip Sign in Table
One liner: A(strcmp(A(:,1),'No'),2) = strcat('-',A(strcmp(A(:,1),'No'),2)) Slightly cleaner with two lines: idx = s...
Conditionally Flip Sign in Table
One liner: A(strcmp(A(:,1),'No'),2) = strcat('-',A(strcmp(A(:,1),'No'),2)) Slightly cleaner with two lines: idx = s...
대략 10년 전 | 0
| 수락됨
답변 있음
connecting points in scatter3 plot?
OK, now I understand the problem. The issue isn't that the data is representing 3-dimensional *points*, but that it's stored in ...
connecting points in scatter3 plot?
OK, now I understand the problem. The issue isn't that the data is representing 3-dimensional *points*, but that it's stored in ...
대략 10년 전 | 0
| 수락됨
답변 있음
Overwrite empty cell array with strings
If |rowofstrings| is a 1-by-41 cell array then your first line will work if you change the |{}| to |()|: MasterCellArray(2,...
Overwrite empty cell array with strings
If |rowofstrings| is a 1-by-41 cell array then your first line will work if you change the |{}| to |()|: MasterCellArray(2,...
대략 10년 전 | 0
| 수락됨
답변 있음
connecting points in scatter3 plot?
What about |plot3|? plot3(rand(5,1),rand(5,1),rand(5,1),'o-') But I also don't understand what the problem is with |line...
connecting points in scatter3 plot?
What about |plot3|? plot3(rand(5,1),rand(5,1),rand(5,1),'o-') But I also don't understand what the problem is with |line...
대략 10년 전 | 1
답변 있음
Hi. How can i rectify my error i.e., not enough arguments
How are you calling this function? It has to be called with two inputs: foo = erlang_b(pi,42) The error you're getting ...
Hi. How can i rectify my error i.e., not enough arguments
How are you calling this function? It has to be called with two inputs: foo = erlang_b(pi,42) The error you're getting ...
대략 10년 전 | 0
답변 있음
How can I stop an ODE overwriting variable values?
If I understand correctly, your ODE function takes in |t| and |y| (and possibly some other parameters), then calculates |Hatta| ...
How can I stop an ODE overwriting variable values?
If I understand correctly, your ODE function takes in |t| and |y| (and possibly some other parameters), then calculates |Hatta| ...
대략 10년 전 | 0