回答済み

Loop the Functions and store the values (placeholder) for Plotting

There are 2 ways to solve this Hold on and plot the result within the loop figure(); hold on; for t=1:0.1:10 [q_kp1,e]...

Loop the Functions and store the values (placeholder) for Plotting

There are 2 ways to solve this Hold on and plot the result within the loop figure(); hold on; for t=1:0.1:10 [q_kp1,e]...

11ヶ月 前 | 0

| 採用済み

回答済み

How to evaluate an array filled with symbolic integrals?

I don't know if this is exactly what you're looking for, but I would do something like this clear all; syms ss; T = [2e-...

How to evaluate an array filled with symbolic integrals?

I don't know if this is exactly what you're looking for, but I would do something like this clear all; syms ss; T = [2e-...

11ヶ月 前 | 0

回答済み

Uning Only Interger Values

You could use round(), floor(), ceil() to first round the floats to integers and then use unique() to remove possible duplicates...

Uning Only Interger Values

You could use round(), floor(), ceil() to first round the floats to integers and then use unique() to remove possible duplicates...

11ヶ月 前 | 0

| 採用済み

回答済み

How can i stop the loop iteration using pushbutton callback in MATLAB GUI?

If you want to stop your iteration (for/while loop), you could try break instead of return.

How can i stop the loop iteration using pushbutton callback in MATLAB GUI?

If you want to stop your iteration (for/while loop), you could try break instead of return.

11ヶ月 前 | 0

回答済み

Find the number of rows and columns of non-zero number from certain row.

You can do something like this [r, c] = find(Matr(1:6,:)); res = [r c] %res = % % 3 1 % 5 1 % 6 2...

Find the number of rows and columns of non-zero number from certain row.

You can do something like this [r, c] = find(Matr(1:6,:)); res = [r c] %res = % % 3 1 % 5 1 % 6 2...

11ヶ月 前 | 2

| 採用済み

回答済み

HOW TO DISPLAY VALUE OF BARS USING BAR3

I would suggest you read this answer, which I think is pretty similar to your case.

HOW TO DISPLAY VALUE OF BARS USING BAR3

I would suggest you read this answer, which I think is pretty similar to your case.

11ヶ月 前 | 0

回答済み

Write Large Video Files

You could've clarified on which lines your error(s) occured, but like the error says, it's most likely that that one of your fra...

Write Large Video Files

You could've clarified on which lines your error(s) occured, but like the error says, it's most likely that that one of your fra...

12ヶ月 前 | 0

| 採用済み

回答済み

Can I build an app of game with Matlab? I am trying to apply what i know for now

Yes you can. Many examples of (simple) games and other "fun" applications can be found on <https://mathworks.com/matlabcentral/f...

Can I build an app of game with Matlab? I am trying to apply what i know for now

Yes you can. Many examples of (simple) games and other "fun" applications can be found on <https://mathworks.com/matlabcentral/f...

12ヶ月 前 | 0

回答済み

missing frames in mp4

From the documentation on *VideoReader* v = VideoReader('stefan.mp4'); currAxes = axes; while hasFrame(v) v...

missing frames in mp4

From the documentation on *VideoReader* v = VideoReader('stefan.mp4'); currAxes = axes; while hasFrame(v) v...

12ヶ月 前 | 0

回答済み

How to retrieve an unknown value from a matrix

Instead of det(A) = 0; %which should've created an error for you You could use *solve* like this to find _w_ syms ...

How to retrieve an unknown value from a matrix

Instead of det(A) = 0; %which should've created an error for you You could use *solve* like this to find _w_ syms ...

12ヶ月 前 | 0

回答済み

Undefined operator '-' for input arguments of type 'cell'.

A question similar to this one was asked before and answered <https://mathworks.com/matlabcentral/answers/380097-undefined-opera...

Undefined operator '-' for input arguments of type 'cell'.

A question similar to this one was asked before and answered <https://mathworks.com/matlabcentral/answers/380097-undefined-opera...

12ヶ月 前 | 0

| 採用済み

回答済み

How do i write a loop for x=1:10

Read this: <https://mathworks.com/help/matlab/ref/for.html>

How do i write a loop for x=1:10

Read this: <https://mathworks.com/help/matlab/ref/for.html>

12ヶ月 前 | 0

回答済み

how can I display one of the images instead of displaying all? can anybody help me please

Well you've created a for-loop, so it shows all of the images in those figures. If you only want to display 1 specific image, yo...

how can I display one of the images instead of displaying all? can anybody help me please

Well you've created a for-loop, so it shows all of the images in those figures. If you only want to display 1 specific image, yo...

12ヶ月 前 | 0

| 採用済み

回答済み

How to detect circles in the this image?

If you have the "Image Processing Toolbox", you can try *imfindcircles* & *viscircles* > <https://mathworks.com/help/images/ref/...

How to detect circles in the this image?

If you have the "Image Processing Toolbox", you can try *imfindcircles* & *viscircles* > <https://mathworks.com/help/images/ref/...

12ヶ月 前 | 0

回答済み

Hey please assist me with plotting this function, not sure why im getting indexing error

First off % \/ you missed a * sign here y1=(3/10)*(1-exp(-6*t)(cos(sqrt(14*t))+(((3*sqrt(14))/7)*sin(...

Hey please assist me with plotting this function, not sure why im getting indexing error

First off % \/ you missed a * sign here y1=(3/10)*(1-exp(-6*t)(cos(sqrt(14*t))+(((3*sqrt(14))/7)*sin(...

12ヶ月 前 | 0

回答済み

Problem using subs function

Even without being an expert in Matlab, the error should be pretty clear. Division by zero. This makes sense because *X*...

Problem using subs function

Even without being an expert in Matlab, the error should be pretty clear. Division by zero. This makes sense because *X*...

12ヶ月 前 | 0

回答済み

How do I automatically run an .m file?

Make a function out of it... %% GraphFunction.m [outputarguments] = function GraphFunction(inputarguments) %leave empt...

How do I automatically run an .m file?

Make a function out of it... %% GraphFunction.m [outputarguments] = function GraphFunction(inputarguments) %leave empt...

12ヶ月 前 | 0

回答済み

Can anybody help me for recognizing 0-9 printed digits?

I think <https://blogs.mathworks.com/loren/2015/08/04/artificial-neural-networks-for-beginners/ this post> is a good start

Can anybody help me for recognizing 0-9 printed digits?

I think <https://blogs.mathworks.com/loren/2015/08/04/artificial-neural-networks-for-beginners/ this post> is a good start

12ヶ月 前 | 0

| 採用済み

回答済み

How to solve this weird problem in Matlab?

So I've tried this and got the same result. syms x3 a = 10e6; b = 10e6; x1 = 1.001; x2 = 0.9998; eqn = a*x...

How to solve this weird problem in Matlab?

So I've tried this and got the same result. syms x3 a = 10e6; b = 10e6; x1 = 1.001; x2 = 0.9998; eqn = a*x...

12ヶ月 前 | 0

回答済み

How to plot a 3D image through its coordinates?

After a quick search, I found <https://mathworks.com/matlabcentral/fileexchange/1420-scatterbar3 this> useful function on FEX ca...

How to plot a 3D image through its coordinates?

After a quick search, I found <https://mathworks.com/matlabcentral/fileexchange/1420-scatterbar3 this> useful function on FEX ca...

12ヶ月 前 | 0

回答済み

how to add date in the title ?

%get days only \/ output format t = char(datetime({'14-4-...

how to add date in the title ?

%get days only \/ output format t = char(datetime({'14-4-...

12ヶ月 前 | 0

| 採用済み

回答済み

It says : Not a valid input. You must enter freshman, sophomore, junior, or senior. How can i fix it ?

Your variable *studentsYear* returns a value 1, 2, 3 or 4 as defined by the order in your menu. So you should use the integers 1...

It says : Not a valid input. You must enter freshman, sophomore, junior, or senior. How can i fix it ?

Your variable *studentsYear* returns a value 1, 2, 3 or 4 as defined by the order in your menu. So you should use the integers 1...

12ヶ月 前 | 0

回答済み

"Array indices must be positive integers or logical values error" for histogram equalization implementation?

Normally when you get the error... Array indices must be positive integers or logical values error ...this should ring a...

"Array indices must be positive integers or logical values error" for histogram equalization implementation?

Normally when you get the error... Array indices must be positive integers or logical values error ...this should ring a...

12ヶ月 前 | 1

回答済み

How to make a histogram plot show as many lines (bars) instead of one long line showing the high points?

Without looking at the code, I've already seen that you used `plot` instead of `histogram` or `bar` function. You see, when you ...

How to make a histogram plot show as many lines (bars) instead of one long line showing the high points?

Without looking at the code, I've already seen that you used `plot` instead of `histogram` or `bar` function. You see, when you ...

12ヶ月 前 | 0

| 採用済み

回答済み

Hi, How can I plot the functions below on Matlab?

Because your question only contains formulas without any other information on what x or lambda are, I'll give you a standard ans...

Hi, How can I plot the functions below on Matlab?

Because your question only contains formulas without any other information on what x or lambda are, I'll give you a standard ans...

12ヶ月 前 | 1

回答済み

Calculate average size of circles in jpg

"Is there a simple way to calculate size of every bubble on my picture..?" Using the image you provided, I came up with the f...

Calculate average size of circles in jpg

"Is there a simple way to calculate size of every bubble on my picture..?" Using the image you provided, I came up with the f...

12ヶ月 前 | 0

質問

Create polygons from circles x, y and radii

I have 11k circles with the x/y coordinates and radii, but I want to patch them all with specific colours from the 11000-by-3 RG...

12ヶ月 前 | 2 件の回答 | 0

回答済み

How do I add values to a vector instead of replacing them?

I think you meant to do allIDs(i,:)

How do I add values to a vector instead of replacing them?

I think you meant to do allIDs(i,:)

12ヶ月 前 | 0

回答済み

How to identify area of a matrix with same values

This question is similar to this one asked before ( <https://mathworks.com/matlabcentral/answers/402080-how-to-find-the-neighbor...

How to identify area of a matrix with same values

This question is similar to this one asked before ( <https://mathworks.com/matlabcentral/answers/402080-how-to-find-the-neighbor...

12ヶ月 前 | 0

回答済み

Search Excel spreadsheet for specific value

Something like this? %read your sheet X = xlsread('my-excel-sheet.xlsx'); %the value your looking for T = 380; ...

Search Excel spreadsheet for specific value

Something like this? %read your sheet X = xlsread('my-excel-sheet.xlsx'); %the value your looking for T = 380; ...

12ヶ月 前 | 1

| 採用済み