Answered
Can't create a folder outside of the current directory
Use fullfile instead of manually concatenating the path and file name then use the function form of mkdir rather than the comman...

4 years ago | 0

| accepted

Answered
matlab home license activation
See this Answers post.

4 years ago | 1

| accepted

Answered
Standolane application is not working like in app designer
That picture suggests there is an issue but it doesn't say anything about what that issue is. Can you review the log file linked...

4 years ago | 0

| accepted

Answered
hi i want to ask,why matlab cannot process the condition for the while loop ? Thank you!
Since you're using the short-circuiting or operator you should check the size of the inputs first. Rather than asking if they're...

4 years ago | 0

Answered
Why is opening a file in compiled mode different than direct Matlab mode?
If you're trying to have your compiled application run code that was not present and included in the application at the time the...

4 years ago | 0

Answered
How to compare two non-integer value together?
Is what you're trying to do as simple as just multiplication and relational operators? x1=85.36; x2=73.52; x2 >= 0.8*x1

4 years ago | 0

Answered
does two polygons interest or not?
You may be able to use the approach from this blog post that determines if two states (represented as polyshape objects) share a...

4 years ago | 1

| accepted

Answered
why I cant use laplace?
which -all laplace The laplace function is only defined for symbolic inputs. Your ut is not symbolic, it is a numeric array. A...

4 years ago | 0

| accepted

Answered
Does lidarViewer app exist?
The last line of the documentation page for that app says "Introduced in R2021b". If you're using release R2021a (as indicated b...

4 years ago | 0

| accepted

Answered
Saving values from a for loop in a table
temp = [1;2;4;5;1;8;3;4]; % temperature ind = [1;1;1;1;2;2;2;2]; % index cycle = [1;1;2;2;1;1;2;2]; % cycle f = table(cycle,t...

4 years ago | 0

| accepted

Answered
Renumber matrix with some restrictions
I'm not completely sure how you got from conn to Con, in particular I'm not sure how you generated the third row in Con. [3 4] d...

4 years ago | 0

Answered
Error using matlab.graphics.chart.primitive.GraphPlot/highlight>checkEdgesNodePair
s = {'a' 'a' 'a' 'a' 'a' 'b' 'b' 'b' 'b' 'c' 'c' 'c' 'd' 'd' 'd' 'e' 'e' 'e' 'e' 'f' 'f' 'f' 'f' 'g' 'g' 'g' 'g' 'g'}; t = {'a'...

4 years ago | 2

| accepted

Answered
get number of output arguments of a function handle
Calling nargout on the function handle itself may give an answer. nargout(@sin) % The sin function returns 1 output But it may...

4 years ago | 0

| accepted

Answered
double error syms code
Preallocate C to be a sym array. syms x C=zeros(3, 6, 'sym') C(2, 3) = x.^2

4 years ago | 0

| accepted

Answered
matlab url encoding doubt
s1 = 'Hello\nWorld' s1E = urlencode(s1) s2 = sprintf('Hello\nWorld') s2E = urlencode(s2) whos s1 contains 12 characters inc...

4 years ago | 0

| accepted

Answered
Can't load saved yoloV2 network in standalone Matlab app 2021a
See the Tip in the "Fixing Callback Problems: Missing Functions" section of this documentation page. Use the %#function pragma t...

4 years ago | 0

Answered
ifft matlab to cpp
The ifft function supports the extended capability of C/C++ code generation using MATLAB Coder. If you have MATLAB Coder availab...

4 years ago | 0

Answered
How to rename a graph node labels ?
Let's take a sample graph and look at it. [B, V] = bucky; B10 = B(1:10, 1:10); V10 = V(1:10, :); G = graph(B10); plot(G, 'X...

4 years ago | 0

| accepted

Answered
Convert time vector of Year, Month, Day, Hours, Minute to Decimal format
% Sample data d = datetime(2019, 10, (2:6).', 12, 0, 0) startOfYear = dateshift(d, 'start', 'year') p = years(d-startOfYear) ...

4 years ago | 0

Answered
How to list all isolated vertices and remove it from the graph?
rng default A = sprandsym(10, (5/100)); G = graph(A, string(1:10)); % Give the nodes names plot(G) isolatedNodes = degree(G)...

4 years ago | 0

| accepted

Answered
I am getting an error as "Check for incorrect argument data type or missing argument in call to function 'exp'." can anyone help me out?
Most likely your image data is of an integer type. The exp function is not defined for the integer types. one = int8(1); y = e...

4 years ago | 0

Answered
Have an error with dot, while searching value in struct
Dynamic field names works if the entry inside the parentheses is a field name. "a.b" is not a field name, it represents multiple...

4 years ago | 1

Answered
Printmat no longer works
Probably the simplest close replacement would be to turn your matrix into a table using array2table (specifying both RowNames an...

4 years ago | 0

Answered
The slicing is not complete!
Most likely some of the numbers that are displayed as 1 are stored as a value that is very close to but not down-to-the-last-bit...

4 years ago | 0

Answered
When using the 1D convolution example code from MATLAB am getting an error about incorrect use of '='.
The "Name=Value" syntax you're using was introduced in release R2021a. Your desktop MATLAB is too old to use that syntax, but MA...

4 years ago | 0

| accepted

Answered
using logical indexing to find events
Use ismembertol (to avoid floating-point issues) or ismember (if your time data contains exactly represtentable times.) t=0:0.0...

4 years ago | 1

Answered
use x and y in a matrix
syms x y; E=cell(3,1); E{1}=[1,1,1;1,2,0;3,5,2]; E{2}=[1,0,0;3,2,1;0,4,3]; E{3}=[0,1,1;0,2,1;2,6,1]; A=[1;5;7]; B=[2,3,4];...

4 years ago | 0

| accepted

Answered
Find and remove part of a string which precedes a particular substring
Convert A to a string array then use the string processing functions like extractAfter and eraseBetween. A = {{'all the governm...

4 years ago | 0

| accepted

Answered
Sliding function in window?
x = 0:3600; plot(x, sqrt(x).*sind(x)) axis([0 360 -60 60]) Now either click and drag the mouse or (if you only want to scroll...

4 years ago | 1

| accepted

Answered
License files for network licenses cannot be retrieved automatically
The error message suggested contacting your system administrator for assistance. This would likely be someone in your IT departm...

4 years ago | 0

| accepted

Load more