Answered
evaluate a symbolic function of t that contains a derivative relative to t
This is an aspect of the Symbolic Toolbox that it is common for people to misunderstand. Suppose that you have the MATLAB code ...

3 years ago | 1

Answered
I am not able to see the rand(3) values in the group tab
A tab is not itself something that can display data. You would have to have a text or uitable object within the tab that was res...

3 years ago | 0

| accepted

Answered
How to save "for" loop outputs in cell array?
matrix=rand(10,7) submatrix = {}; [r, c]= size(matrix); for s=1:r-1 for n=...

3 years ago | 1

| accepted

Answered
open serial ports using matlab web
MATLAB Online runs on a cloud somewhere. Your interface to it is through a web browser. The only part that runs on your own hard...

3 years ago | 1

Answered
Report the indices of two numbers which sum up to the target value in a sorted list
nums = [1,2,3,4,7,8,10,11]; target = 10 [r,c] = find(triu(nums + nums.' == target)); [r,c] You would use a different strateg...

3 years ago | 0

Answered
uifigure and uitable not of equal sizes
in the uitable call add the options 'Units', 'normalized', 'Position', [0 0 1 1] to have the uitable fill the uifigure

3 years ago | 1

| accepted

Answered
Does update apply to all MATLAB including toolboxes or can I selectively apply updates to toolboxes?
It will update all toolboxes that you have installed. Also if you install new toolboxes online after the update it will bring in...

3 years ago | 0

| accepted

Answered
que consiste el error "as a function is not supported "
you named your own Livescript "integral" and it is in your current folder. When matlab encounters the call to integral() in your...

3 years ago | 0

Answered
How to change RGB value without changing index value of an image?
You would have to change the active colormap at index 87 to be red, which would change all other locations with the same value. ...

3 years ago | 0

| accepted

Answered
Display a Matlab Object
b = barker() Note that the output might be different each time. You can adjust the code length and the samples per frame. S...

3 years ago | 1

| accepted

Answered
Input arguments to function include colon operator. To input the colon character, use ':' instead.
h = matlabFunction(h_); You are returning a function handle in a context that expects you to return a numeric result.

3 years ago | 0

| accepted

Answered
Removing single quotes present in excel table in Matlab
The single quotes are for presentation purposes and are not part of the stored value. The extract that you show us contains o...

3 years ago | 0

| accepted

Answered
Why does this code give error?
fcn = @() fpa1(10,0.8,2000,4,[-90 -90 -90 -90],[90 90 90 90],@(b)myfunction(b,u,Noise)); timeit(fcn, 3)

3 years ago | 0

| accepted

Answered
Is the struct the fastest option for this application?
I suggest that you take the timing tests I posted in https://www.mathworks.com/matlabcentral/answers/113258-is-there-any-concept...

3 years ago | 0

Answered
Array indices must be positive integers or logical values. - specific to EEG data
fft = 2^nextpow2(57001); Before that line, fft is the name of a MATLAB function. After that line is executed, fft in your work...

3 years ago | 1

| accepted

Answered
How can I change the color of each axes label in a radar graph by using some condition
spider_plot_class supports the following axes label options: AxesLabels -- specify the labels AxesLabelsEdge AxesInterpreter ...

3 years ago | 0

Answered
how to set different axis value?
there are two different things you might mean. If you want to change the actual x and y coordinates to the ones you indicated...

3 years ago | 1

Answered
How do you make the diagonal and certain off-diagonal elements of a matrix zero?
S = spdiags(Bin,d,A) replaces the diagonals in A specified by d with the columns of Bin. ... after which you would full() ...

3 years ago | 0

| accepted

Answered
read hex dat file and convert to dec
That file contains no hexadecimal data at all. That file contains binary data. You should be using fread. It is not immediate...

3 years ago | 0

Answered
compile c++ code that uses openCV on Windows
mex does not know that it should link opencv2 if installed, and a lot of the time it would be a mistake to link it just because ...

3 years ago | 1

| accepted

Answered
How to calculate number of floating-point operations (FLOPs) of a CNN model in MatLab
Time complexity cannot be measured in FLOPs. Time complexity needs to be measured in "Big-O" notation. For a thesis you would ty...

3 years ago | 0

| accepted

Answered
Error using sequenceInputLayer, Invalid argument at position 1. Expected input to be a scalar, 3 element vector or 4 element vector. Should i fill something in inputsize??
Your release does not support 1D sequence input. The first release that supported that was R2021b

3 years ago | 0

| accepted

Answered
How can I index an ND-array of variable dimensionality?
Construct a cell array that has ':' in the places you want to use : operator. Then use cell expansion In the code below it is n...

3 years ago | 0

| accepted

Answered
Output of a transfer function with input
M=2; b=14; q=20; num=[1]; G=tf(num,[M b q]) syms t F = 2*(heaviside(t)-heaviside(t-2)); T = linspace(0, 3); sympref(...

3 years ago | 0

Answered
how to read eeg signal by column from excel file(matrix)?
sig = readtable('file.xlsx'); P4 = sig{:,1}; O2 = sig{:,2}; P8 = sig{:,3}; There is a more compact but harder to understand ...

3 years ago | 0

Answered
Plot data on a global map
As discussed in https://www.mathworks.com/matlabcentral/answers/1910990-global-map-based-on-data-from-a-3d-matrix#answer_1169590...

3 years ago | 0

Answered
I'm looking to download Matlab 2012b
if you have a license for a version newer than that, you can go to the download page, and on the left ask to see all versions, a...

3 years ago | 0

Answered
Warning: Reached maximum number of iterations. 'Lambda' = 0.011431. > In lassoglm>penalizedWls (line 1452)
https://www.mathworks.com/help/stats/lassoglm.html#d124e592384 use the MaxIter option

3 years ago | 0

Answered
How to improve this image quality?
invert the image so dark is foreground. Binarize choosing a threshold that includes the small spheres in the foreground. Grow th...

3 years ago | 0

Answered
what is magnitude of amplitude in real world?
audio files do not store absolute units of anything. They store relative values, like 0.7 intended to mean 0.7 of the signal max...

3 years ago | 1

Load more