답변 있음

Is applying a binary operator (+,-,*,/) to char arrays supported by MATLAB or just a "trick"

Char array is a vector of chars. So you are basically doing vector operation, right?

Is applying a binary operator (+,-,*,/) to char arrays supported by MATLAB or just a "trick"

Char array is a vector of chars. So you are basically doing vector operation, right?

8달 전 | 0

답변 있음

Step Response of Transfer Function

Get help by doing: help tf Basically, you need to expand the denominator given in image into polynomial of s. Then take the co...

Step Response of Transfer Function

Get help by doing: help tf Basically, you need to expand the denominator given in image into polynomial of s. Then take the co...

8달 전 | 0

| 수락됨

답변 있음

What is wrong in line 101?

Your file has no line 101. Only 94 lines in total. Tried some sample input data, and it works without error. What inputs are n...

What is wrong in line 101?

Your file has no line 101. Only 94 lines in total. Tried some sample input data, and it works without error. What inputs are n...

8달 전 | 0

답변 있음

How to store graphs (undirected) i cell array and retrieve them

You meant: graphCellArray = {g1, g2, g3}; graphCellArray{1} % access the first one

How to store graphs (undirected) i cell array and retrieve them

You meant: graphCellArray = {g1, g2, g3}; graphCellArray{1} % access the first one

8달 전 | 0

| 수락됨

답변 있음

Error using images.internal.getImageFromFile in matlab R2016a

images.internal.getImageFromFile expects the input argument to be string (the filename for the image). But it is something else....

Error using images.internal.getImageFromFile in matlab R2016a

images.internal.getImageFromFile expects the input argument to be string (the filename for the image). But it is something else....

8달 전 | 0

답변 있음

Using Matlab.engine and installing tensorflow at the same time

So the current hurdle is about installing/importing tensorflow, right? For the Anaconda installing issue, you might get better ...

Using Matlab.engine and installing tensorflow at the same time

So the current hurdle is about installing/importing tensorflow, right? For the Anaconda installing issue, you might get better ...

8달 전 | 0

답변 있음

Unable to find explicit solution

This equation might not even have a solution. Try to plot it: syms t b=2*t+14.3; w=3*t+21.45; A=(w*b)-(w-t)*(b-2*t); rc=(w*...

Unable to find explicit solution

This equation might not even have a solution. Try to plot it: syms t b=2*t+14.3; w=3*t+21.45; A=(w*b)-(w-t)*(b-2*t); rc=(w*...

8달 전 | 0

답변 있음

unable to get matlab to recognize the python installed on my computer

python on Windows might be tricky. Did you follow this page? Maybe you need to setup your PATH environment variable first?

unable to get matlab to recognize the python installed on my computer

python on Windows might be tricky. Did you follow this page? Maybe you need to setup your PATH environment variable first?

9달 전 | 1

| 수락됨

답변 있음

Issues Using python from MATLAB

python has trouble to find the package selenium. One easy way out is to set the environment variable PYTHONPATH inside matlab to...

Issues Using python from MATLAB

python has trouble to find the package selenium. One easy way out is to set the environment variable PYTHONPATH inside matlab to...

9달 전 | 0

답변 있음

Call component callback from another function

A callback function in your case is just a method of a class. You called your class file1 apparently. The Save method doesn't de...

Call component callback from another function

A callback function in your case is just a method of a class. You called your class file1 apparently. The Save method doesn't de...

9달 전 | 1

답변 있음

Bulk upload issue - HTTP Error code 502

You are using python code, but this is a matlab forum, right? In general, three suggestions: Try curl. This can tell if there ...

Bulk upload issue - HTTP Error code 502

You are using python code, but this is a matlab forum, right? In general, three suggestions: Try curl. This can tell if there ...

9달 전 | 1

답변 있음

Save a matrix .mat in a specific folder with a variable name

Try something this: a = 100; for i=1:3 file_name = ['filename' num2str(i)]; save(file_name, 'a'); end

Save a matrix .mat in a specific folder with a variable name

Try something this: a = 100; for i=1:3 file_name = ['filename' num2str(i)]; save(file_name, 'a'); end

9달 전 | 0

| 수락됨

답변 있음

c code and makefile to matlab

If you can compile it and run it from terminal, can you just use the system command?

c code and makefile to matlab

If you can compile it and run it from terminal, can you just use the system command?

9달 전 | 0

답변 있음

Can I see the text of a compiled *.m file?

The folder you mentioned in general is used for caching data locally. Most likely during compilation. This might not happen in t...

Can I see the text of a compiled *.m file?

The folder you mentioned in general is used for caching data locally. Most likely during compilation. This might not happen in t...

10달 전 | 0

답변 있음

Plot Time Sensitive Data plus a fit in the same plot

To show more than one plots in a figure, use plot(Date, Thickness, '.'); hold on % this means you want more than one plots in ...

Plot Time Sensitive Data plus a fit in the same plot

To show more than one plots in a figure, use plot(Date, Thickness, '.'); hold on % this means you want more than one plots in ...

10달 전 | 0

답변 있음

How do I subplot figures and Title Figures

Try this: subplot(2, 3, 1); % there are 2x3 images, this is the first one imshow('the_first_image.png'); % show first title...

How do I subplot figures and Title Figures

Try this: subplot(2, 3, 1); % there are 2x3 images, this is the first one imshow('the_first_image.png'); % show first title...

10달 전 | 1

답변 있음

Not enough input arguments

What is confusion.getMatrix? The built-in confusion is a function. There is another confusionmat, but the return arguments don't...

Not enough input arguments

What is confusion.getMatrix? The built-in confusion is a function. There is another confusionmat, but the return arguments don't...

10달 전 | 0

답변 있음

I want to make a GUI in which only those functions run whose radio button is on, but how to make it?

Radio buttons or checkboxes? You can have a figure with multiple plots. Say if you have 10 checkboxes, then put 10 plots in th...

I want to make a GUI in which only those functions run whose radio button is on, but how to make it?

Radio buttons or checkboxes? You can have a figure with multiple plots. Say if you have 10 checkboxes, then put 10 plots in th...

10달 전 | 0

답변 있음

How can i Calculate this with matlab?

If the series is convergent, one way is to set a cutoff value (for example epsilon = 0.00000001). Then when you do the sum from ...

How can i Calculate this with matlab?

If the series is convergent, one way is to set a cutoff value (for example epsilon = 0.00000001). Then when you do the sum from ...

10달 전 | 0

답변 있음

How to change the name of variables inside a file.mat?

How about this? t=100;C=80; % your data save('data.mat', 't','C'); clear; load('data.mat'); %load it first texp=t; Cexp=C...

How to change the name of variables inside a file.mat?

How about this? t=100;C=80; % your data save('data.mat', 't','C'); clear; load('data.mat'); %load it first texp=t; Cexp=C...

10달 전 | 0

| 수락됨

답변 있음

I don't know how to write the following problem: f(x)=2x^3-15.4x^2+2.7x+2.25 - Determine the area under f(x) on the interval [-1,8]. Use the zeros rounded to one decimal

Area under f(x) basically is just the definite integral of f(x) within the range, right? You know how to use matlab to do inte...

I don't know how to write the following problem: f(x)=2x^3-15.4x^2+2.7x+2.25 - Determine the area under f(x) on the interval [-1,8]. Use the zeros rounded to one decimal

Area under f(x) basically is just the definite integral of f(x) within the range, right? You know how to use matlab to do inte...

10달 전 | 0

답변 있음

I am given an array

Do you mean: a = [3 4 5 3 64 7 6 34 8 5 4 3]; m = mean(a); st = std(a); an = abs(a - m) > st; ind = find(an); a(ind) = an(...

I am given an array

Do you mean: a = [3 4 5 3 64 7 6 34 8 5 4 3]; m = mean(a); st = std(a); an = abs(a - m) > st; ind = find(an); a(ind) = an(...

10달 전 | 0

답변 있음

Matlab wouldn't find simple inverse

The inverse function is not well defined for all the possible a. For example a=1, there is no reverse function. If a is an o...

Matlab wouldn't find simple inverse

The inverse function is not well defined for all the possible a. For example a=1, there is no reverse function. If a is an o...

10달 전 | 1

답변 있음

Summing every nth column

Your logic is not consistent. from 1 to 300, there are 298 rows in between. But from 300 to 600, there are 299 rows in between. ...

Summing every nth column

Your logic is not consistent. from 1 to 300, there are 298 rows in between. But from 300 to 600, there are 299 rows in between. ...

10달 전 | 0

답변 있음

Looking for simulation folder of the work showed in attached link

You see the 'Copy Command' button on the top right corner? It is a shortcut for this command power_motordrive_IPMSM_FOC It wil...

Looking for simulation folder of the work showed in attached link

You see the 'Copy Command' button on the top right corner? It is a shortcut for this command power_motordrive_IPMSM_FOC It wil...

10달 전 | 0

답변 있음

Change working directory to where the mlx file is saved

If that folder is in the matlab's path, you can which your_mlx_file.mlx

Change working directory to where the mlx file is saved

If that folder is in the matlab's path, you can which your_mlx_file.mlx

10달 전 | 0