Answered
Receiving error "Unrecognized function or variable 'tf'" even though I have the Signal Processing Toolbox installed.
which -all tf There are several functions named tf in various MathWorks products, but most of them are intended for use in conv...

5 years ago | 0

Answered
How to place percent of each bar/bin of histogram on histogram chart in the code below?
Let's make some sample data and plot a histogram with a small number of bins. x = randn(1, 1e4); h = histogram(x, 'NumBins', 1...

5 years ago | 0

Answered
errors in using RESHAPE FUNCTION......PLEASE HELP ME.
More likely than not your image_Container variable has 3 or more dimensions. x = randi(10, [2 3 4]); sz = size(x) sz1 = size(...

5 years ago | 0

Answered
How do i write the constructor for this?
See this documentation page for a list of guidelines about how class constructors should look.

5 years ago | 0

Answered
reduce the working precision
Take a look at Fixed-Point Designer. It may do what you want.

5 years ago | 0

Answered
Problem using polyfit in a loop
If you're trying to remove a polynomial trend from your data, see the detrend function. As of release R2019a you can specify a d...

5 years ago | 0

Answered
My code is garbled opening with a higher version matlab
Did your code try to write an image file (specifically a PNG image) using imwrite? If so, I suspect you overwrote your function ...

5 years ago | 1

Answered
How can I create a GUI to change the bins of a histogram?
Change the NumBins property of the histogram object in your slider callback if you want to explicitly control the number of bins...

5 years ago | 0

Answered
does not exist.
Well, does it? Check with Windows Explorer. Rather than using sprintf (where you need to be careful which slashes you use) I wo...

5 years ago | 0

Answered
Which format can be choosen
syms x f = - 0.00000000000000000000000044574112852848068606808271927672*x^21 + 0.0000000000000000030044127779970749176557242324...

5 years ago | 0

| accepted

Answered
Question on summing bins in hist
Instead of using hist, I recommend using histogram. You will want to set the 'Normalization' option when you call histogram.

5 years ago | 0

| accepted

Answered
Out of memory. The likely cause is an infinite recursion within the program.
Let's look at the first couple lines of your function. function [x,n] = secuno(n0,n1,n2) % Genera x[n] = u[n ยก n0]; n1 <= n <=...

5 years ago | 0

| accepted

Answered
Fitnet: Can we forbid the normalization pre processing ?
net = fitnet(10); net.inputs{1} You want to modify the processFcns property of the net.inputs{1} object. See this documentatio...

5 years ago | 0

| accepted

Answered
VariableNames for table that begins with number
The ability to use table variable names that are not valid MATLAB variable names was introduced in release R2019b.

5 years ago | 0

| accepted

Answered
I can't call Publish function used MATLAB library compiler from Java
The publish function is on the list of functions that are not supported for deployment using MATLAB Compiler or MATLAB Compiler ...

5 years ago | 0

Answered
Solving a set of ordinary differential equations and functions dependent on each other
Let V = [B_o; B_c; H; F_p; F_n; f_p; f_n]. I think I read those correctly from the image. Then write your function so it compute...

5 years ago | 0

Answered
Threshold exceedance, where and by how much
Assuming you're reading this data into a table array like this sample one: load patients T = table(LastName, Age, Height, Weig...

5 years ago | 0

| accepted

Answered
Is it possible to access the value of the variable step size (of the independent variable) used by ODE45 within the ode function?
No, ode45 does not provide this information to the ODE function you pass into it. Why are you interested in the steps ode45 use...

5 years ago | 2

| accepted

Answered
Availability of ode32tb
As far as I'm aware there is no function ode32tb in MATLAB or any MathWorks products. If as I suspect you mean the ode23tb func...

5 years ago | 0

| accepted

Answered
if condition for Matrix
M(i-tau,j)=0 if i-tau <0, There's no such thing as row -1 of a matrix in MATLAB. Depending on what you're trying to do you coul...

5 years ago | 0

| accepted

Answered
Useful results from solve function
Try substituting values for the constants c1 through c6 and cp before trying to solve it. I expect that you're going to argue t...

5 years ago | 0

Answered
rng shuffle in parallel computing
Have you ever seen a movie where the bad guys say "Synchronize your watches" so they will all act at exactly the same time? That...

5 years ago | 1

| accepted

Answered
Creating a map with nodes from existing map
By gpx files I assume you mean this file format? Which release are you using? If you're using release R2020b or later try impor...

5 years ago | 0

Answered
How can i solve the issue of struct2table
You described intlinsol as "intlinsol is a 768 x 1 (these are binary integers numbers of 1's and 0's)" which to me implies that ...

5 years ago | 0

Answered
calling functions in other scripts
This is not just a function. It is a class method. classdef functioncontainer methods function res = func(t,n) A...

5 years ago | 0

Answered
Plot a function from another .m file in MATLab 2019 - Please help!!!
I have this function: [snip the text of the function] and I call it in another file .m: No, you don't call it in that file, a...

5 years ago | 0

| accepted

Answered
How to I convert this time format to datetime?
str ='Fri May 28 18:15:46 +0000 2021' inputFormat = 'eee MMM d H:mm:ss xx yyyy' dt = datetime(str, 'InputFormat', inputFormat,...

5 years ago | 0

| accepted

Answered
Can somebody tell me why I am getting an error while using the subs function?
In general when asking for help with an error you should show the full and exact text (everything displayed in red in the Comman...

5 years ago | 1

| accepted

Answered
Multivariate normal random numbers vs. random numbers from normal distribution
So you did this? mu = [-0.25, 0.03, 0.01]'; a = 1; % std b = mu(1); % mean rng default y(:, 1) = a.*randn(3,1) + b; rng de...

5 years ago | 1

| accepted

Answered
Communication architecture Parallel toolbox and Matlab Parallel server
This documentation page may contain the information you're looking for.

5 years ago | 1

Load more