Statistics
RANK
1
of 295,894
REPUTATION
137,070
CONTRIBUTIONS
37 Questions
60,573 Answers
ANSWER ACCEPTANCE
48.65%
VOTES RECEIVED
18,553
RANK
of 20,299
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
I want when index increase no. of layers should give inf or button disable to not accept more inputs,thanks
for i=1:L if i > L app.Button.Enable = off; app.firstValEditField.Value= inf; end When you have...
8 hours ago | 0
What is the equivalent most efficient way to tail -n 1 file.csv in matlab
There are a few cases: If there is a maximum line length that the final line is certain not to exceed, and the characters are r...
9 hours ago | 0
How do I keep the target for a specific time period?
You need a different approach. You do not want to pause(0.5) -- you want to wait up to 0.5 for a key press and stop waiting as ...
16 hours ago | 0
which toolbox do I need to run openExample('px4/ActuatorControlUAVCANDroneCANExample','supportingFile','px4ActuatorWrite')?
That example appears to be new as of R2024b.
17 hours ago | 1
Assign a colormap to a geoglobe plot
Any one geoplot3() call results in a single line of constant color. There is no way to have the single line be multiple colors o...
17 hours ago | 0
Canonical Correlation Analysis, reversiblity
It is expected that the results would differ slightly, due to different order of operations. Internally, the code computes two ...
18 hours ago | 0
| accepted
como puedo llamar correctamente las variables en un script que proviene de una función
You have for caso = casos for variacion = variaciones so your code does all of the cases for all of the variations in tur...
1 day ago | 0
Making a video for 1000 time-steps
writerObj = VideoWriter('OutputFileNameGoesHere.avi'); ax = gca; oldsize = [0 0]; for timestep = 1 : 1000 %do approp...
1 day ago | 1
| accepted
Error writing to SQL Server table
ForecastedData = ['SPX' datetime("today") 1 2 3 4 5 6 7 8 9 10] The [] operation is "syntactic sugar" for horzcat or vertcat ca...
1 day ago | 0
Global variables are inefficient and. make errors difficult to diagnose
The message is a warning, not an error message. You are getting the warning message because using global variables is the most ...
1 day ago | 1
Error using Deep Learning model LSTM
https://www.mathworks.com/help/deeplearning/ref/trainnetwork.html#mw_36a68d96-8505-4b8d-b338-44e1efa9cc5e defines for the sequen...
2 days ago | 0
Quiver not working and seemingly wrecking plots.
figure(1) quiver(X,Z,Xdot,Zdot) subplot(2,4,i) By default, quiver() uses the current axes to plot in. The first iteration, f...
3 days ago | 1
| accepted
MATLAB code runs but it throws error once compiled.
legendreP is part of the Symbolic toolbox. Nothing in the Symbolic toolbox can be compiled.
3 days ago | 0
logical index issue in for lloop
syms x t real mu=(1/16)^4 m=(cos(x)+1i*sin(x))/(1+((1/mu)^4-1)*(cos(4*t)+1i*sin(4*t))); n=real(m) disp(char(n)) So n is a s...
4 days ago | 0
Receiving "too many output arguments" error in this code
You define function highpassButtonPushed(app, event) which declares highpassButtoPushed as a function that returns no outputs....
4 days ago | 0
| accepted
Help with the convertion of text files into tables.
directory_files_are_in = '/path/to/where/the/files/are'; dinfo = dir( fullfile(directory_files_are_in, '*.txt')); %adjust .tx...
4 days ago | 0
Error in data formatting when creating a matrix of only certain columns from a very large txt file in MATLAB
You are examining the outputs by using disp() (or implied disp(), such as just naming the variable on the command line.) The de...
4 days ago | 0
Integrating discrete accelerometer data, displacement result too big
Observe: y = randn(1,10) cumtrapz(y) Notice that the first output is 0. This is a property of cumtrapz(). cumtrapz() is not t...
4 days ago | 0
Complex variable substitution using Symbolic Toolbox no working as expected.
s = 1i*w; % Substitute s = j*w h_s = simplify(subs(h_w, w*1i, s)); You are asking to substitute 1i*w for w*1i . However, expre...
4 days ago | 0
how can i read letters from an input and make them numbers to make an array from those numbers
ValidInputs = {'AB', 'BC', 'CD', 'DE', 'AD'}; INPUT = input('enter some letters', 's'); [found, idx] = ismember(lower(INPUT), ...
4 days ago | 0
How to use both GPU devices in the laptop
MATLAB is only able to use NVIDIA GPUs for deliberate GPU access. MATLAB has no way of accessing the Intel Iris Xe GPU in the ...
4 days ago | 2
functions inside nnperformance/+sse do not print
After changing code inside the MATLAB directories, you need to rehash toolboxcache Is a binary code running instead to speed ...
5 days ago | 0
How do I save changes to a matrix in a while loop?
overall_score = [0 0 0]; before the while loop. overall_score = overall_score + score; fprintf('Overall Player Wins: %d\n Tie...
5 days ago | 0
| accepted
Matlab no longer running scripts
For certain older versions of MATLAB, and more common on Mac, MATLAB could apparently hang at random times, including on start-u...
5 days ago | 0
Why does feval produce the error 'cannot automatically convert a double variable to categorical values'?
You design your tbl so that the first column is categorical. You construct a fitlm model from that. You attempt to feval() the...
6 days ago | 0
| accepted
Why am I getting a NaN value when calling a variable using uicontrol?
Try AvgSpeed1 = mean(RealSpeed1, "omitmissing");
6 days ago | 0
| accepted
Is it possible to open an java-based figure from the new desktop?
Yes. The new desktop is largely javascript, but traditional figures created with figure() are still java based.
6 days ago | 0
Changing Matlab online version to older one
Sorry, you cannot change MATLAB Online to use an older version.
6 days ago | 0
| accepted
I have a set of data from an ultrasound image that I need to convert from a .mat file to a file that can be viewed in CAD software or 3D slicer.
By far the easiest way to write dicom files is to already have a representative file of the same type, and use dicominfo() on th...
6 days ago | 0
IFFT function doesn't work for modified fourer spectras
[nt,j]=size(Gilroy1); %... f0=0:df:(nt-1)*df; %... Y=fft(y); Y1=abs(Y); %... FW=1./(cos(2*pi*f0*H/V)); %... YY1=Y.*FW'; ...
6 days ago | 0