Eike Blechschmidt
Followers: 0 Following: 0
統計
All
Feeds
回答済み
function value VS function handle?
With both statements you call the function. If you want the function handle you need to do: kk1 = @func1;
function value VS function handle?
With both statements you call the function. If you want the function handle you need to do: kk1 = @func1;
3年以上 前 | 0
解決済み
Undocumented MATLAB tricks No. 1 - Save a function-returned struct
Often we face the case when we want to save a function-returned struct to a mat file with each of its field as individual variab...
3年以上 前
回答済み
Plot a sine wave with decreasing frequency over time
The easiest and correct is probably to use: f1 = 50; f2 = 10; t = 0:0.001:10; y = chirp(t,f1,t(end),f2); plot(t, y);
Plot a sine wave with decreasing frequency over time
The easiest and correct is probably to use: f1 = 50; f2 = 10; t = 0:0.001:10; y = chirp(t,f1,t(end),f2); plot(t, y);
3年以上 前 | 0
回答済み
Plot a sine wave with decreasing frequency over time
How about f_upper = 50; f_lower = 10; t = 0:0.01:10; f = linspace(f_upper, f_lower, numel(t)); a = 10; x = a * sin(2*pi*f....
Plot a sine wave with decreasing frequency over time
How about f_upper = 50; f_lower = 10; t = 0:0.01:10; f = linspace(f_upper, f_lower, numel(t)); a = 10; x = a * sin(2*pi*f....
3年以上 前 | 0
解決済み
3n + 1 Problem (a.k.a The Collatz Conjecture)
The 3n + 1 problem (a.k.a The Collatz Conjecture) Consider the following algorithm to generate a sequence of numbers. Start wit...
3年以上 前
回答済み
How to solve "Check for incorrect argument data type or missing argument in call to function 'exp'" in matrix for linear program
The following returns a table. X=readtable('Simulated Log Electricity Prices Test'); If you index it using the following a tab...
How to solve "Check for incorrect argument data type or missing argument in call to function 'exp'" in matrix for linear program
The following returns a table. X=readtable('Simulated Log Electricity Prices Test'); If you index it using the following a tab...
3年以上 前 | 1
| 採用済み
回答済み
Speed up a for loop in my programme?
If I understood you right this could do the trick and is about 2.5x faster on my machine. tic(); X=rand(size2*size2,1)*2*pi-pi...
Speed up a for loop in my programme?
If I understood you right this could do the trick and is about 2.5x faster on my machine. tic(); X=rand(size2*size2,1)*2*pi-pi...
3年以上 前 | 0
回答済み
Table variable subscripts must be real positive integers
I guess you just forgot the quotation marks around benchmarkName and assetNames.
Table variable subscripts must be real positive integers
I guess you just forgot the quotation marks around benchmarkName and assetNames.
3年以上 前 | 0
回答済み
Adding elements to the ends of vectors inside a cell array of vectors
You could use arrayfun: arrayfun(@(l,i1,i2,u) [l x(i1:i2) u], xLower,i1,i2, xUpper, “uniform“, false) This is untested b...
Adding elements to the ends of vectors inside a cell array of vectors
You could use arrayfun: arrayfun(@(l,i1,i2,u) [l x(i1:i2) u], xLower,i1,i2, xUpper, “uniform“, false) This is untested b...
3年以上 前 | 1
| 採用済み
質問
Does fileDatastore not implement "matlab.io.Datastore"?
I'm currently developing a custom datastore that takes an existing datastore and adds some features. In the constructor I would...
3年以上 前 | 1 件の回答 | 0