답변 있음

How can I define successive vectors by matlab?

Yes, you get new u and v vectors every time - is that what you mean by successive? By the way you should do it this way: t = [...

How can I define successive vectors by matlab?

Yes, you get new u and v vectors every time - is that what you mean by successive? By the way you should do it this way: t = [...

4일 전 | 0

| 수락됨

답변 있음

Try to plot inductance as a function of g

It seems like you want the drawing to be animated because you used pause(0.2) so try it this way: clc; % Clear the command w...

Try to plot inductance as a function of g

It seems like you want the drawing to be animated because you used pause(0.2) so try it this way: clc; % Clear the command w...

4일 전 | 0

| 수락됨

답변 있음

I have to increase the number of Fourier frequencies by adding 500 zeros to the end of the 27-sample-long signal.

Again, another duplicate question answered here: https://www.mathworks.com/matlabcentral/answers/1570303-how-to-add-zero-points...

I have to increase the number of Fourier frequencies by adding 500 zeros to the end of the 27-sample-long signal.

Again, another duplicate question answered here: https://www.mathworks.com/matlabcentral/answers/1570303-how-to-add-zero-points...

4일 전 | 0

답변 있음

I have to increase the number of Fourier frequencies by adding 500 zeros to the end of the 27-sample-long signal.

This is a duplicate question. I answered it here: https://www.mathworks.com/matlabcentral/answers/1570303-how-to-add-zero-poin...

I have to increase the number of Fourier frequencies by adding 500 zeros to the end of the 27-sample-long signal.

This is a duplicate question. I answered it here: https://www.mathworks.com/matlabcentral/answers/1570303-how-to-add-zero-poin...

4일 전 | 0

답변 있음

when i write functions in matlab it not recognizing?

It ran for me with no errors. Note that you never actually call either nestFunction() or localFunction(). You just assign func...

when i write functions in matlab it not recognizing?

It ran for me with no errors. Note that you never actually call either nestFunction() or localFunction(). You just assign func...

4일 전 | 1

| 수락됨

답변 있음

Please help me convert equation to matlab code

Use sqrt() for square root, pi for pi, commas between columns, and semicolons between rows. For example m = [0, 1, pi; sq...

Please help me convert equation to matlab code

Use sqrt() for square root, pi for pi, commas between columns, and semicolons between rows. For example m = [0, 1, pi; sq...

4일 전 | 0

답변 있음

How to extract data with multiple headerlines locations, with a differing number of headerlines per file?

Generally for something this complicated, you need to write a custom reader for the file. Attach a sample data file and say wha...

How to extract data with multiple headerlines locations, with a differing number of headerlines per file?

Generally for something this complicated, you need to write a custom reader for the file. Attach a sample data file and say wha...

4일 전 | 0

답변 있음

How to add zero points in a function

If h is your signal, assign the last element to be zero h(527) = 0; The in between values will be automatically filled with ze...

How to add zero points in a function

If h is your signal, assign the last element to be zero h(527) = 0; The in between values will be automatically filled with ze...

4일 전 | 0

| 수락됨

답변 있음

Convergence for thermal mass

Use writetable() to write your table to Excel. Use max() to clip your values to -5 or above data = max(data, -5);

Convergence for thermal mass

Use writetable() to write your table to Excel. Use max() to clip your values to -5 or above data = max(data, -5);

4일 전 | 0

| 수락됨

답변 있음

why is my vector empty

Maybe you mean this: N=input('what is N? ') % establishes N all_A = {}; A=[]; loopCounter = 1; while true s = input('gi...

why is my vector empty

Maybe you mean this: N=input('what is N? ') % establishes N all_A = {}; A=[]; loopCounter = 1; while true s = input('gi...

4일 전 | 0

| 수락됨

답변 있음

Extract data from a web page

Try turning that imcomprehensible mess of XML into an organized structure with the attached function: url = char(strcat({'https...

Extract data from a web page

Try turning that imcomprehensible mess of XML into an organized structure with the attached function: url = char(strcat({'https...

4일 전 | 0

답변 있음

How to segment 2 circles as left and right?

Not sure who told you to do that useless stuff but I'd be careful taking advice from them anymore. Sharpening the image, then b...

How to segment 2 circles as left and right?

Not sure who told you to do that useless stuff but I'd be careful taking advice from them anymore. Sharpening the image, then b...

4일 전 | 0

답변 있음

4x4 matrix with numbers from 1 to 4 in specific order

You need to put r in in reverse order, so assuming you're not allowed to use flipud(r), try: r = 1:4 M(1:4, 4)= r(end : -1 : 1...

4x4 matrix with numbers from 1 to 4 in specific order

You need to put r in in reverse order, so assuming you're not allowed to use flipud(r), try: r = 1:4 M(1:4, 4)= r(end : -1 : 1...

5일 전 | 0

| 수락됨

답변 있음

HOW TO LINK MATLAB FILE THROUGH MICROSOFT WORD?

You could make a macro so they could run the macro. View tab -> Macros -> Record Macro Though I'm not sure if the macro can ...

HOW TO LINK MATLAB FILE THROUGH MICROSOFT WORD?

You could make a macro so they could run the macro. View tab -> Macros -> Record Macro Though I'm not sure if the macro can ...

5일 전 | 0

답변 있음

How can I plot average loop graph as given in the image

I'd start by looking at splitapply(), grpstats(), or groupsummary() to get the average of each unique pair of (x,y) coordinates....

How can I plot average loop graph as given in the image

I'd start by looking at splitapply(), grpstats(), or groupsummary() to get the average of each unique pair of (x,y) coordinates....

5일 전 | 0

답변 있음

Unrecognized function or variable

You have another file that is required called importfile() that is not found in your current folder or on your search path. Use...

Unrecognized function or variable

You have another file that is required called importfile() that is not found in your current folder or on your search path. Use...

5일 전 | 0

답변 있음

how to convert 1x2 double into two 1x1

Try this to create 2 separate variables out of that 1x2 cell array Time_msg_match1 = Time_msg_match{1}; Time_msg_match2 = Time...

how to convert 1x2 double into two 1x1

Try this to create 2 separate variables out of that 1x2 cell array Time_msg_match1 = Time_msg_match{1}; Time_msg_match2 = Time...

5일 전 | 1

| 수락됨

답변 있음

How can I decrease the frame rate of a video?

You could write a new video with the same frames but specify a different frame rate property. I'm attaching a demo of how to cr...

How can I decrease the frame rate of a video?

You could write a new video with the same frames but specify a different frame rate property. I'm attaching a demo of how to cr...

5일 전 | 0

답변 있음

Highlight a specific part within an image

Try something like stdfilt() or entropyfilt() to identify the rough region.

Highlight a specific part within an image

Try something like stdfilt() or entropyfilt() to identify the rough region.

5일 전 | 0

| 수락됨

답변 있음

How can we know whether the current execution of command is conducting inside a function or not?

You can call fprintf immediately upon entering and just befor leaving the function: fprintf('Entering MyFunction().\n'); fprin...

How can we know whether the current execution of command is conducting inside a function or not?

You can call fprintf immediately upon entering and just befor leaving the function: fprintf('Entering MyFunction().\n'); fprin...

5일 전 | 0

답변 있음

segment skull out of Mri image

There are lots of ways to do it depending on what method you want to use and how accurate you'd like it. If you want to do it b...

segment skull out of Mri image

There are lots of ways to do it depending on what method you want to use and how accurate you'd like it. If you want to do it b...

5일 전 | 0

답변 있음

how would I input this equation into MATLAB

Like this chiSquared = sum(((y - m) ./ sigma) .^ 2);

how would I input this equation into MATLAB

Like this chiSquared = sum(((y - m) ./ sigma) .^ 2);

5일 전 | 0

답변 있음

How to make a standalone software which accepts excel files.

See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_make_a_standalone_executable_from_my_MATLAB_code.3F

How to make a standalone software which accepts excel files.

See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_make_a_standalone_executable_from_my_MATLAB_code.3F

6일 전 | 0

답변 있음

circle marker weird filling

Try a dot plot(time,strain,'b.-','Color',C2,'LineWidth',lw,'MarkerSize',ms,'MarkerEdgeColor',C2,'MarkerFaceColor',C2);

circle marker weird filling

Try a dot plot(time,strain,'b.-','Color',C2,'LineWidth',lw,'MarkerSize',ms,'MarkerEdgeColor',C2,'MarkerFaceColor',C2);

6일 전 | 0

답변 있음

How do i plot equal size of circle in square(100*100 m^2) without overlapping?

Click on the "circle packing" tag on the right. This has been asked many times and there are several solutions with slight vari...

How do i plot equal size of circle in square(100*100 m^2) without overlapping?

Click on the "circle packing" tag on the right. This has been asked many times and there are several solutions with slight vari...

6일 전 | 1

| 수락됨

답변 있음

how to calculate mean and standard deviation, from the image then subtracted from the original image iteratively using matlab ?

For local mean, use imfilter, or conv2() kernel = ones(5)/25; localMeanImage = conv2(double(grayImage), kernel, 'same'); For ...

how to calculate mean and standard deviation, from the image then subtracted from the original image iteratively using matlab ?

For local mean, use imfilter, or conv2() kernel = ones(5)/25; localMeanImage = conv2(double(grayImage), kernel, 'same'); For ...

6일 전 | 0

| 수락됨

답변 있음

Personalized RGB Masked Image

I'm not sure what you are asking. So what does your original image look like? What do you mean that you want white, black, and...

Personalized RGB Masked Image

I'm not sure what you are asking. So what does your original image look like? What do you mean that you want white, black, and...

6일 전 | 0

| 수락됨

답변 있음

Color Thresholder tool runs out of memory

You should reduce the pixel dimensions by a factor of 50 or 100. There is no need to have such a huge image for determining the...

Color Thresholder tool runs out of memory

You should reduce the pixel dimensions by a factor of 50 or 100. There is no need to have such a huge image for determining the...

6일 전 | 0

| 수락됨

답변 있음

Unable to activate your machine

Well I'd do what it says : "refer to the following solution ID, to help resolve this issue: 1-661QJD”. What happened when you d...

Unable to activate your machine

Well I'd do what it says : "refer to the following solution ID, to help resolve this issue: 1-661QJD”. What happened when you d...

6일 전 | 0