Answered
compute the sum of each item of a vector with every item of another vector
bsxfun(@plus,1:3,(4:6)') You can |reshape| it after if you want it as a 9x1

10 years ago | 0

| accepted

Answered
What is the kernel that MATLAB currently uses for its Symbolic Math Toolbox?
It uses MUPAD and hasn't used Maple since 2007 or 2008.

10 years ago | 0

| accepted

Answered
Moving from nlinfit to lsqnonlin?
|lsqcurvefit| is essentially the same thing as |lsqnonlin| but accepts data and functions in the same manner you're used to.

10 years ago | 1

Answered
rotating x-axis labels on an image
In R2014b or newer: >> set(gca,'XTickLabelRotation',90)

10 years ago | 1

| accepted

Answered
Unable to import Document Object Model (DOM) API from MATLAB Report Generator
Are you on MATLAB >=R2014b with Report Generator installed and licensed? ver license test matlab_report_gen

10 years ago | 0

Answered
In Report Generator DOM how can I make row heights size exactly to the text in the table?
Try using the |RowHeight| class to specify the height of each individual row that you then append to the |Table|. <http://www...

10 years ago | 0

Answered
strtrim not working for cell array
iscellstr(your_cell) will definitively tell you if your cell contains only strings. It's also possible that it contains nu...

10 years ago | 0

Answered
To find Maximum number of entries in a 1*36 cell
[nmx, idx] = max(cellfun(@numel,your_cell))

10 years ago | 0

| accepted

Answered
How do I make my user defined function accept vectors as inputs rather than scalars?
Fgravitational=-G*((m1*m2)/d^2); Put a . before the mathematical operators: G.*((m1.*me)./d.^2) There's a helper fu...

10 years ago | 0

Answered
Parallel Computing Toolbox - Concurrent Users
Yes, but those other computers will need to be licensed with the MATLAB Distributed Computing Server. Your Parallel Computing T...

10 years ago | 0

| accepted

Answered
A matlab program in a website
This is the primary purpose of the MATLAB production server. The front end would not be developed in MATLAB, but the algorithms...

10 years ago | 0

Answered
How do I run two scripts in parallel ?
Try |parfeval|, which uses an already open pool rather than opening a new one like |batch| and turn your scripts into functions ...

10 years ago | 0

Answered
How to normalize a histogram?
<http://www.mathworks.com/help/releases/R2015b/matlab/ref/histogram.html#namevaluepairs> Look at the _'Normalization'_ proper...

10 years ago | 6

| accepted

Answered
Using SimEvents results in Matlab
Assign the output of |sim| to _simOut_. simOut = sim('concreting1', 'SaveOutput','on'); z = simOut.get('Finaloutput');...

10 years ago | 1

| accepted

Answered
I would like a global solution to showing a busy cursor during long operations (not figure dependent)
figs = findall(groot,'Type','Figure') Now set it to all figs set(figs,'Prop',value)

10 years ago | 0

| accepted

Solved


Is It a Snake?
Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...

10 years ago

Solved


Step up
For given input array, output a array with all elements step up by two

10 years ago

Answered
How to add a filtered random noise to a wav
Look at the app |fdatool| to build the filter and |randn| to generate random noise.

10 years ago | 0

Answered
Intlinprog does not stop at time limit
<http://www.mathworks.com/help/releases/R2015b/optim/ug/mixed-integer-linear-programming-algorithms.html> It won't generate n...

10 years ago | 0

| accepted

Answered
How to use the already trained neural network
y = net(x) where net is your trained network and x is your new input.

10 years ago | 0

| accepted

Answered
Finding Where a Variable Is Defined
If you click on a variable in the editor, the right hand side will show gray lines for all instances of it. Click on the top on...

10 years ago | 0

| accepted

Answered
Sum elements in a column where there are matching values in an adjacent column?
Here's one way, there are probably better ones, but this works: *NEW* A = [1 1 100; 1 2 200; 1 3 50; 2 1 100; 2 2 200; 2...

10 years ago | 1

| accepted

Answered
Using Classification and subsets
Look at the |training| and |test| methods of the |cvpartition|. cv = cvpartition(100,'KFold',3); train2 = training(cv,2) %...

10 years ago | 1

Answered
Error using Application Compiler to create Standalone .exe application
It looks like the license for the compiler is not available. Are you using it on a concurrent license?

10 years ago | 0

Answered
Is this a bug? Accessing table variables in cell format by row indices (R2015a)
In R2015b I see the expected results for both of your operations t.c{[1,2,5]} ans = 0.8147 ans = 0.9058 ans =...

10 years ago | 0

| accepted

Answered
Finding of Previous Values From Derivatives
cumsum(Qnun_turevi_volkan) + c

10 years ago | 0

Answered
Can i undo command in command window?
You can use the command history to extract all of the "correct" commands that you've run to create a script. Press the up arrow...

10 years ago | 0

Load more