統計
All
ランク
of 154,057
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
回答済み
Control structures
This is an answer that you could easily have gotten yourself by looking at the Getting Started section of the documentation
Control structures
This is an answer that you could easily have gotten yourself by looking at the Getting Started section of the documentation
9年以上 前 | 1
回答済み
Is there a way to run a function every time Matlab returns to its command prompt
If you can get the handle to the command window (I'm sure Yair has done similar things at some point; take a look around <www.un...
Is there a way to run a function every time Matlab returns to its command prompt
If you can get the handle to the command window (I'm sure Yair has done similar things at some point; take a look around <www.un...
13年以上 前 | 0
回答済み
Factorization
For any prime p and positive integer n, the factors of p^n are all of the form p^k for 0 <= k <= n. So the factors of 2^1024 ar...
Factorization
For any prime p and positive integer n, the factors of p^n are all of the form p^k for 0 <= k <= n. So the factors of 2^1024 ar...
13年以上 前 | 0
回答済み
TUTORIAL: How to format your question
Is this tutorial supposed to be just about how to format code, or is it how to use formatting in general? If the latter, then t...
TUTORIAL: How to format your question
Is this tutorial supposed to be just about how to format code, or is it how to use formatting in general? If the latter, then t...
13年以上 前 | 1
| 採用済み
回答済み
How does Matlab build-in Quasi-Newton method calculate the gradient?
I don't have a direct answer for you, but you can dig into it a little bit further by typing edit fminunc at the command...
How does Matlab build-in Quasi-Newton method calculate the gradient?
I don't have a direct answer for you, but you can dig into it a little bit further by typing edit fminunc at the command...
13年以上 前 | 0
回答済み
Simple calculations?
Perhaps you're looking for res = diff(n1)./diff(n2); %?
Simple calculations?
Perhaps you're looking for res = diff(n1)./diff(n2); %?
13年以上 前 | 0
| 採用済み
回答済み
data sharing Between two GUIs
Take a look at Matt Fig's <http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples>, specifically GUI...
data sharing Between two GUIs
Take a look at Matt Fig's <http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples>, specifically GUI...
13年以上 前 | 0
回答済み
replacing blank values in a single column cell array with the previous value
Pending the answer to Sean de's comment, I will assume the first entry is not blank: for ix=2:length(A) if isempty(A{ix})...
replacing blank values in a single column cell array with the previous value
Pending the answer to Sean de's comment, I will assume the first entry is not blank: for ix=2:length(A) if isempty(A{ix})...
13年以上 前 | 2
| 採用済み
回答済み
Msgbox ico change
It is the third argument, and is described here: doc msgbox EDIT: Ok, I still don't totally understand what you're asking fo...
Msgbox ico change
It is the third argument, and is described here: doc msgbox EDIT: Ok, I still don't totally understand what you're asking fo...
13年以上 前 | 1
| 採用済み
回答済み
cell array or multidimensional array?
Obviously it depends: is all of your data numeric, or are the data types mixed? If the data is all numeric, then I'd say stick ...
cell array or multidimensional array?
Obviously it depends: is all of your data numeric, or are the data types mixed? If the data is all numeric, then I'd say stick ...
13年以上 前 | 4
回答済み
creating a unique variable for the outputs of a for loop?
Your final multiplication is matrix multiplication, right? In what order should it be done? Assuming it should be done in the ...
creating a unique variable for the outputs of a for loop?
Your final multiplication is matrix multiplication, right? In what order should it be done? Assuming it should be done in the ...
13年以上 前 | 1
回答済み
Matlab to MPG
Are you sure mpgwrite was a MATLAB function, and not <http://www.mathworks.com/matlabcentral/fileexchange/309 this FEX submissio...
Matlab to MPG
Are you sure mpgwrite was a MATLAB function, and not <http://www.mathworks.com/matlabcentral/fileexchange/309 this FEX submissio...
13年以上 前 | 0
回答済み
GUI Text box
Well, I suppose you could do something like eval(['x(n)=' get(...)]); Or you could use evalin: doc evalin But ev...
GUI Text box
Well, I suppose you could do something like eval(['x(n)=' get(...)]); Or you could use evalin: doc evalin But ev...
13年以上 前 | 0
回答済み
Why do you come to "MATLAB Answers"?
When Answers was first instituted, I didn't really see the need for it in addition to CSSM. But it does seem to have a bit high...
Why do you come to "MATLAB Answers"?
When Answers was first instituted, I didn't really see the need for it in addition to CSSM. But it does seem to have a bit high...
13年以上 前 | 2
回答済み
Getting external variables from GUI
Another way is to save your data to a .mat file and load it in your GUI at runtime. Create a 'Load' button in your GUI, with ca...
Getting external variables from GUI
Another way is to save your data to a .mat file and load it in your GUI at runtime. Create a 'Load' button in your GUI, with ca...
13年以上 前 | 0
回答済み
Creating a matrix that looks similar to a 10x10 timestable grid from x = [1:10] and y = [1:10]
>> x=1:10; >> y=1:10; >> x'*y ans = 1 2 3 4 5 6 7 8 9 10 2...
Creating a matrix that looks similar to a 10x10 timestable grid from x = [1:10] and y = [1:10]
>> x=1:10; >> y=1:10; >> x'*y ans = 1 2 3 4 5 6 7 8 9 10 2...
13年以上 前 | 0
| 採用済み
回答済み
[DEPRECATED] What frustrates you about MATLAB?
"It is cross platform, making code easy to share (assuming the other people have forked out for the not-so-cheap license)." Thi...
[DEPRECATED] What frustrates you about MATLAB?
"It is cross platform, making code easy to share (assuming the other people have forked out for the not-so-cheap license)." Thi...
13年以上 前 | 0
回答済み
Using unique.m function on NaNs
If you have some application for which you need to ignore NaNs rather than take them into account, you could replace them with s...
Using unique.m function on NaNs
If you have some application for which you need to ignore NaNs rather than take them into account, you could replace them with s...
13年以上 前 | 0
回答済み
Inner function parameters by value or by reference?
<http://www.mathworks.com/matlabcentral/answers/152-can-matlab-pass-by-reference> <http://matlab.wikia.com/wiki/FAQ#Can_MATLAB_...
Inner function parameters by value or by reference?
<http://www.mathworks.com/matlabcentral/answers/152-can-matlab-pass-by-reference> <http://matlab.wikia.com/wiki/FAQ#Can_MATLAB_...
13年以上 前 | 0
回答済み
Wrong values with greater than, equal and less than or equal functions
<http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F>
Wrong values with greater than, equal and less than or equal functions
<http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F>
13年以上 前 | 6
| 採用済み
回答済み
Excel reading - xlsread
Use the third output of xlsread: [data, txt, raw] = xlsread(...); The "raw" output is a cell array which contains all of...
Excel reading - xlsread
Use the third output of xlsread: [data, txt, raw] = xlsread(...); The "raw" output is a cell array which contains all of...
13年以上 前 | 1
| 採用済み
回答済み
TUTORIAL: how to ask a question (on Answers) and get a fast answer
Do: Check the FAQs. https://www.mathworks.com/matlabcentral/answers/faqs?s_tid=gn_mlc_ans_faqs https://matlab.fandom....
TUTORIAL: how to ask a question (on Answers) and get a fast answer
Do: Check the FAQs. https://www.mathworks.com/matlabcentral/answers/faqs?s_tid=gn_mlc_ans_faqs https://matlab.fandom....
13年以上 前 | 10
回答済み
Adding a GUI to existing code
When you say you were "given some code" and you want to "put a GUI into already existing code", do you mean you have a function ...
Adding a GUI to existing code
When you say you were "given some code" and you want to "put a GUI into already existing code", do you mean you have a function ...
13年以上 前 | 0
回答済み
How to set timer
You might want to take a look at Matt Fig's <http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples>...
How to set timer
You might want to take a look at Matt Fig's <http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples>...
13年以上 前 | 0
回答済み
Finding the maximum value without using built-in functions
Before the loop, create a variable called currMax, and set it equal to 0. Within the loop, with each grade that's entered, comp...
Finding the maximum value without using built-in functions
Before the loop, create a variable called currMax, and set it equal to 0. Within the loop, with each grade that's entered, comp...
13年以上 前 | 0
回答済み
GUI Creation
From <http://www.mathworks.com/help/techdoc/ref/uicontrol_props.html>: Editable text – The Value property does not apply. If Ma...
GUI Creation
From <http://www.mathworks.com/help/techdoc/ref/uicontrol_props.html>: Editable text – The Value property does not apply. If Ma...
13年以上 前 | 2
| 採用済み
回答済み
copy graphic to Excel
You could use Yair Altman's screencapture utility from the FEX: <http://www.mathworks.com/matlabcentral/fileexchange/24323-scree...
copy graphic to Excel
You could use Yair Altman's screencapture utility from the FEX: <http://www.mathworks.com/matlabcentral/fileexchange/24323-scree...
13年以上 前 | 0
回答済み
Problem finding max value of column of an Matrix
The problem you're having is that you recalculate the max of each column on each iteration of the loop. You could move that cal...
Problem finding max value of column of an Matrix
The problem you're having is that you recalculate the max of each column on each iteration of the loop. You could move that cal...
13年以上 前 | 1
回答済み
How to create a matrix out of single inputs in a loop?
If your grades are entered as strings, you should store them in a cell array: numStudents = 20; % or however many B = cell(...
How to create a matrix out of single inputs in a loop?
If your grades are entered as strings, you should store them in a cell array: numStudents = 20; % or however many B = cell(...
13年以上 前 | 1
回答済み
How to convert string into filename then use load comment to load the file
Have you tried: load [target_file '.mat'] If so, what didn't work the way you wanted? EDIT: It turns out the use of bracket...
How to convert string into filename then use load comment to load the file
Have you tried: load [target_file '.mat'] If so, what didn't work the way you wanted? EDIT: It turns out the use of bracket...
13年以上 前 | 1