統計
All
ランク
of 153,872
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
Defautl to open *.m files in MATLAB, linux
MATLAB R2020a, Ubuntu 20.04 I am trying to set MATLAB to open m files by default. MATLAB doesn't appear in the "Open with other...
4年以上 前 | 1 件の回答 | 1
1
回答回答済み
Array indices must be positive integers or logical values.
In the line: Pol4(n) = Cd0(0.5*1.225*q(n)*50)^2; what you wrote says to index Cd0 at 0.5*1.225*q(n)*50, which is probably not ...
Array indices must be positive integers or logical values.
In the line: Pol4(n) = Cd0(0.5*1.225*q(n)*50)^2; what you wrote says to index Cd0 at 0.5*1.225*q(n)*50, which is probably not ...
4年以上 前 | 0
回答済み
vector in a sting input
You need this syntax for string concatenation: B(i) = input( ['Node: ' num2str(i)], 's' ) or B(i) = input( sprintf('Node: %s...
vector in a sting input
You need this syntax for string concatenation: B(i) = input( ['Node: ' num2str(i)], 's' ) or B(i) = input( sprintf('Node: %s...
4年以上 前 | 1
回答済み
How can I change an xlsx file to a mat file?
Try using A = readmatrix('spreadsheet.xlsx') to get the data. See the documentation for help on that. Check that the data lo...
How can I change an xlsx file to a mat file?
Try using A = readmatrix('spreadsheet.xlsx') to get the data. See the documentation for help on that. Check that the data lo...
4年以上 前 | 1
回答済み
Remove rows with less than certain amount of measurements from timetable
I have some idea about getting the times and unique times T = tab.Time uT = unique(T); and then checking how many times each ...
Remove rows with less than certain amount of measurements from timetable
I have some idea about getting the times and unique times T = tab.Time uT = unique(T); and then checking how many times each ...
4年以上 前 | 0
| 採用済み
回答済み
plotting three functions in the same graph with a specification
Your three function values fall in a range of orders of magnitude spanning 1e3 to 1e10. I think this code is the best visualizat...
plotting three functions in the same graph with a specification
Your three function values fall in a range of orders of magnitude spanning 1e3 to 1e10. I think this code is the best visualizat...
4年以上 前 | 0
送信済み
fields2struct
fields2struct provides a clean but powerful way to initialize a structure
4年以上 前 | ダウンロード 1 件 |
回答済み
Datetime comparison near full hours
Don't bother splitting the time components yourself. t1 = datetime('9-mar-2020 16:00:00'); t0 = datetime('9-mar-2020 15:59:03'...
Datetime comparison near full hours
Don't bother splitting the time components yourself. t1 = datetime('9-mar-2020 16:00:00'); t0 = datetime('9-mar-2020 15:59:03'...
4年以上 前 | 2
| 採用済み
回答済み
Extracting data from a signal
Adam, I think the crosshairs in the first image are where the derivative becomes positive: the signal starts to rise. I would us...
Extracting data from a signal
Adam, I think the crosshairs in the first image are where the derivative becomes positive: the signal starts to rise. I would us...
4年以上 前 | 1
回答済み
How to add for loop in my code to get a table of result and plot it?
Yes, there are some problems with your for loop. But problems with density of states are fun! Remember, that when you say "for ...
How to add for loop in my code to get a table of result and plot it?
Yes, there are some problems with your for loop. But problems with density of states are fun! Remember, that when you say "for ...
4年以上 前 | 0
| 採用済み
回答済み
I have to do a single index for the North
Instead of using find, to get the index, just use boolean indexing. This allows you to combine North1 and North2 with a logical ...
I have to do a single index for the North
Instead of using find, to get the index, just use boolean indexing. This allows you to combine North1 and North2 with a logical ...
4年以上 前 | 0
| 採用済み
回答済み
How to make an overlaying xy-grid?
Since your grid is symmetric, create a vector describing the mesh points along one dimension.Then use meshgrid grid to make matr...
How to make an overlaying xy-grid?
Since your grid is symmetric, create a vector describing the mesh points along one dimension.Then use meshgrid grid to make matr...
4年以上 前 | 1
| 採用済み
回答済み
no output when coding
Do this without a for loop % Load data a = xlsread('outdoorall.xlsx','H2:H52364'); b=xlsread('indoorall.xlsx','H2:H52364'); %...
no output when coding
Do this without a for loop % Load data a = xlsread('outdoorall.xlsx','H2:H52364'); b=xlsread('indoorall.xlsx','H2:H52364'); %...
5年弱 前 | 1
| 採用済み
回答済み
checking dataType instead typecast at property or argument validation
Hi Florian, I recently learned this property validation as well, and its been working for me. Your syntax is backwards, if you...
checking dataType instead typecast at property or argument validation
Hi Florian, I recently learned this property validation as well, and its been working for me. Your syntax is backwards, if you...
5年弱 前 | 0
回答済み
Detection of cracks on scissor's surface using Image processing.
Hafiz, This looks already like a very challenging problem. There is not any kind of built in crack detection code. It would be ...
Detection of cracks on scissor's surface using Image processing.
Hafiz, This looks already like a very challenging problem. There is not any kind of built in crack detection code. It would be ...
5年弱 前 | 0
回答済み
How to create a vector?
In MATLAB, create an array by wrapping the data in brackets time_vector = [1 2 3] creates a row vector. Read all about it her...
How to create a vector?
In MATLAB, create an array by wrapping the data in brackets time_vector = [1 2 3] creates a row vector. Read all about it her...
5年弱 前 | 0
回答済み
Column of matrices for arbitrary N.
Hi Mike. The way you're building phi is creating a matrix, not a vector, since zeros(m,n) creates an mxn matrix. I think this ...
Column of matrices for arbitrary N.
Hi Mike. The way you're building phi is creating a matrix, not a vector, since zeros(m,n) creates an mxn matrix. I think this ...
5年弱 前 | 1
| 採用済み
回答済み
Elegantly refer to the second output from a function
I wrote two or three functions that allow me to do this. I agree, its much nicer to be able to one line certain values from buil...
Elegantly refer to the second output from a function
I wrote two or three functions that allow me to do this. I agree, its much nicer to be able to one line certain values from buil...
5年弱 前 | 3
回答済み
Index and remove values in a cell array
Its hard to see what the purpose of this deletion is. It looks like you have multiple (499) datasets described by ixv (some kind...
Index and remove values in a cell array
Its hard to see what the purpose of this deletion is. It looks like you have multiple (499) datasets described by ixv (some kind...
5年弱 前 | 0
回答済み
Legend doesn't match my plot style
It looks like R1M1V1 is plotting three different curves. This could happen if max_time1 is a vector but R1M1V1 is a Nx3 matrix. ...
Legend doesn't match my plot style
It looks like R1M1V1 is plotting three different curves. This could happen if max_time1 is a vector but R1M1V1 is a Nx3 matrix. ...
5年弱 前 | 1
回答済み
Matlab mapping toolbox and the wmmarker function: how to change “description” from a web page to a file on the computer?
I found the answer! I stumbled across this https://blogs.mathworks.com/community/2007/07/09/printing-hyperlinks-to-the-command-...
Matlab mapping toolbox and the wmmarker function: how to change “description” from a web page to a file on the computer?
I found the answer! I stumbled across this https://blogs.mathworks.com/community/2007/07/09/printing-hyperlinks-to-the-command-...
約5年 前 | 1
回答済み
How can I smooth this plot?
A little more crudely than Strider's answer, since you may not have some of those functions in R2017... Here is a function that...
How can I smooth this plot?
A little more crudely than Strider's answer, since you may not have some of those functions in R2017... Here is a function that...
約5年 前 | 0
回答済み
How to generate and plot multiple semicircle with fixed endpoints but different radius
Thats a neat looking graphic. I don't really understand what its for though. Why don't you just manually draw in the straight li...
How to generate and plot multiple semicircle with fixed endpoints but different radius
Thats a neat looking graphic. I don't really understand what its for though. Why don't you just manually draw in the straight li...
約5年 前 | 0
回答済み
Matlab mapping toolbox and the wmmarker function: how to change “description” from a web page to a file on the computer?
According to the documentation page on wmmarker, "Description elements can be either plain text or HTML markup." HTML links to l...
Matlab mapping toolbox and the wmmarker function: how to change “description” from a web page to a file on the computer?
According to the documentation page on wmmarker, "Description elements can be either plain text or HTML markup." HTML links to l...
約5年 前 | 0
| 採用済み
回答済み
Can I store and call functions from within a struct?
To further this question, I would like to use fields of the struct as parameters in the functions, hopefully without having to w...
Can I store and call functions from within a struct?
To further this question, I would like to use fields of the struct as parameters in the functions, hopefully without having to w...
5年以上 前 | 0
質問
Dot indexing is not supported for variables of this type
Hello all. I have a very nice piece of GUI code I wrote. Recently, MATLAB crashed while I was writing the code and now when I t...
約6年 前 | 1 件の回答 | 0
1
回答回答済み
matlab code for eigenvalue problem
Try simplifying the problem you're having instead of dumping equations. I went cross-eyed and I don't know what you want.
matlab code for eigenvalue problem
Try simplifying the problem you're having instead of dumping equations. I went cross-eyed and I don't know what you want.
約7年 前 | 1
質問
Is the brush tool still supported in R2017b, programatically?
I'm trying to find the best way for a user to interactively select a subset of data in a scatter plot that will then be polyfit ...
約7年 前 | 1 件の回答 | 0