photo
Programming Languages:
C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English

統計

All
  • Most Accepted 2023
  • Most Accepted 2022
  • Solver
  • First Review
  • Most Accepted 2021
  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015

バッジを表示

Feeds

表示方法

回答済み
busdays function not return correct date
date_1 and date_2 both happen to have times of 09:30 date_3 has a time of 10:30. date_4 has a time of 9:30 The internal logic ...

約2時間 前 | 0

| 採用済み

回答済み
Plot files with legend names indicated from a value from each file
plot(T,z,'LineWidth',1,'color',couleur(nn,:), 'DisplayName', string(sta(1)));

約2時間 前 | 0

回答済み
why does the aasamplebiasedautoc is giving abnormal results with a noise signal?
That code expects a vector of input as the first parameter. You are sending in a 2D array. The way your data is arranged, the co...

約4時間 前 | 0

回答済み
clicking on data tips option breaks WindowButtonDown callback
This is expected. Data tips rely upon WindowButtonDownFcn and there can only be one WindowButtonDownFcn active at a time on any ...

約6時間 前 | 1

| 採用済み

回答済み
solving a nonlinear equation with complex numbers
Zo = 50; syms R syms X Z=(R*1i*X/(R+1i*X)); r=(Z-Zo)/(Z+Zo); assume(R,'positive') assume(X,'real') eqn=[abs(r)==0.5, an...

約6時間 前 | 0

回答済み
Is there a way to define a callback function in Matlab that triggers on runtime errors?
Sorry, there is no way of doing this. The most you can do is put a try/catch around the top level of your code. However, when t...

約7時間 前 | 0

回答済み
How to add pattern fill to markers in scatter plot?
There is unfortunately no simple way to add hatch filling. To apply hatch filling, there are two possibilities: Create sample ...

約7時間 前 | 0

回答済み
Second order PDE solving CFD problem
conv_term = (theta(i, j) - theta(i, j-1)) / dx; diff_term = (theta(i+1, j) - 2 * theta(i, j) + theta(i-...

約9時間 前 | 0

回答済み
Integrating Parallel Computing with App Designer for Real-Time UI Updates
The only Mathworks product that is designed for Real-Time work is Simulink Real-Time. You will never be able to get Real-Time ...

約9時間 前 | 0

回答済み
Fourier Transform of e^jkt, not giving an answer
The fourier transform of that function does not converge. You need to take abs(t) syms t w K S=exp(K*j*abs(t)) F = fourier(S...

1日 前 | 1

回答済み
Need a MD5 Hash file
https://www.mathworks.com/matlabcentral/fileexchange/5498-md5-signature-of-a-file https://www.mathworks.com/matlabcentral/file...

1日 前 | 0

回答済み
How do I save adw modified audio to a wav file
Use dsp.AudioFileWriter Note: in your current code, the y that you audiowrite() would represent only the last buffer-full of da...

2日 前 | 1

回答済み
I wanna solve to solve
The fundamental problem here is that when you use the old form of solve that used quoted expressions, that variables defined in ...

2日 前 | 0

回答済み
creating spatial heat map in matlab for one variable with x,y coordinates
You tried to calculate the pairwise distance between 112899 points . The way your code is structured, that involves building a 1...

2日 前 | 0

回答済み
I am trying to run an code an shows Number of elements must not change. Use [] as one of the size inputs to automatically calculate the appropriate size for that dimension.
N = round(double([f_x; b_x])); M = round(double([f_y; b_y])); We are not given any information about the sizes of f_x or f_y o...

2日 前 | 1

回答済み
Latin Company Name.
"Latin Company Name" is the internal name Mathworks gives to "Company Name" fields on various sign-up forms, such as https://www...

2日 前 | 0

回答済み
Cómo podría agregar una restricción sobre una variable dependiente en lugar de los parámetros a optimizar?
You would use the nonlcon parameter to add constraints. You would likely use a function to calculate size of the fifth crystal...

2日 前 | 0

回答済み
Serial: Real-time plotting and storaging streaming data from Arduino slowing down badly over time
Table = [Table; newLine]; Each time that statement is executed, MATLAB needs to examine...

2日 前 | 0

回答済み
Input for ARfit ? (EEG analysis)
What I have is a vector where the rows are the EEG channels, and the columns are the signal values for each data point. Your in...

2日 前 | 0

回答済み
MATLAB symbolic definite integration error while taking symbolic function as input arguments
syms a v T disp(int(@(tau) tau*v, 0, T)) disp(int(@(tau) tau*a, 0, T)) Notice that in the first case, it integrated with resp...

3日 前 | 1

回答済み
Scatter fails if all elements but one at index(1,1) are nan.
This is fixed in R2023b (maybe slightly earlier) There does not appear to be any public bug report about this.

4日 前 | 0

| 採用済み

回答済み
How to display color intensity contour of gray scale image
Converting to gray is rgb2gray Displaying the image in the indicated way would probably be surf followed by a colormap call.

4日 前 | 0

回答済み
Double integral problem with function handles to make the program faster instead of using symbolic
ksi and ita are undefined at that point. If you define them with syms then the integration works. syms ksi ita i=3; %actually ...

4日 前 | 0

| 採用済み

回答済み
Why do i get the error (Array indices must be positive integers or logical values) when trying to calculate the determinant
det = det(M) There would not be any error the first time you ran that code. The first time, det would refer to the det determin...

4日 前 | 2

回答済み
How to solve a task within Machine Learning Onramp Course?
You did not add a local function named extract to your file. A "local function" is one that is placed at the end of your code, s...

5日 前 | 0

| 採用済み

回答済み
trying to speed up image exports
This test suggests that writing to ppm might potentially be faster, with writing to JPEG2 being notably slower. data = randi([0...

5日 前 | 0

| 採用済み

回答済み
Multiple nested for loops for machine learning model hyperparameters
for j =1:length(nfilterSize) %j is active at this level for k = length(nnumBlocks) %j and k are active at this level ...

5日 前 | 0

| 採用済み

回答済み
CUDA seems not to be supported
There is a difference between the toolkit version and the nvcc version. The toolkit version is essentially the driver version th...

6日 前 | 0

回答済み
I am not able to debug my script as follows
PaAVE1=(Pa1+Pa2)/2; You assign to PaAVE1 but you do not use PaAVE1 afterwards cPaAVE1=C*PaAVE; No variable PaAVE is defined. ...

6日 前 | 0

| 採用済み

回答済み
"For Iteration" output index appears to perform parallel selector indexing in series instead
It sounds as if you have something of the form for J = 1:length(FirstVector) %some operation end for K = 1:length(Second...

6日 前 | 0

さらに読み込む