답변 있음

How can I force MATLAB to arrange inputs into a matrix of specified dimensions?

Why do you need to know the size of B? Maybe you want disp(str2double(B))

How can I force MATLAB to arrange inputs into a matrix of specified dimensions?

Why do you need to know the size of B? Maybe you want disp(str2double(B))

대략 2년 전 | 0

| 수락됨

답변 있음

Plotting Solutions to the Heat Equation Through a Truncated Series Evaluation

The error seems to be caused by this line: quadgk(h_FC_integrand,x,0,5)); quadgk computes numerical integration. What do you e...

Plotting Solutions to the Heat Equation Through a Truncated Series Evaluation

The error seems to be caused by this line: quadgk(h_FC_integrand,x,0,5)); quadgk computes numerical integration. What do you e...

대략 2년 전 | 0

답변 있음

How to increase line width non-uniformly for a single line Matlab 2021a

You can plot the whole line by one command, then the width is the same. Or you can plot the line by segments. One plot call for...

How to increase line width non-uniformly for a single line Matlab 2021a

You can plot the whole line by one command, then the width is the same. Or you can plot the line by segments. One plot call for...

대략 2년 전 | 0

답변 있음

subplots (not superimposed)

Subplot is easy to use, if you already know how to use figure: subplot

subplots (not superimposed)

Subplot is easy to use, if you already know how to use figure: subplot

대략 2년 전 | 0

답변 있음

Multiple animated lines in two different figures plotted simultaneously

Subplot is easy to use: subplot

Multiple animated lines in two different figures plotted simultaneously

Subplot is easy to use: subplot

대략 2년 전 | 0

| 수락됨

답변 있음

could anyone help me how to pair the numbers in the desired manner as shown below

reshape(A, 8, 2)'

could anyone help me how to pair the numbers in the desired manner as shown below

reshape(A, 8, 2)'

대략 2년 전 | 0

답변 있음

How do I change focus to a given uieditfield (in gui created with uifigure)

Check this answer? matlab answer

How do I change focus to a given uieditfield (in gui created with uifigure)

Check this answer? matlab answer

대략 2년 전 | 0

| 수락됨

답변 있음

Help me with this question

Agree with Steven. You need to do at least the majority yourself. Here are some hints according to my understanding. You need t...

Help me with this question

Agree with Steven. You need to do at least the majority yourself. Here are some hints according to my understanding. You need t...

대략 2년 전 | 0

답변 있음

The error "An unrecognized character" in EEGLAB

SCCN developed this program. You might want to contact them first as shown in the error message above?

The error "An unrecognized character" in EEGLAB

SCCN developed this program. You might want to contact them first as shown in the error message above?

대략 2년 전 | 0

| 수락됨

답변 있음

How can I draw 2D figure with 2D latitude and longitude?

Did you try reshape? Does it give you the result you want? lat = ones(9, 4); % your lat lon = ones(9, 4); % your lon lat1...

How can I draw 2D figure with 2D latitude and longitude?

Did you try reshape? Does it give you the result you want? lat = ones(9, 4); % your lat lon = ones(9, 4); % your lon lat1...

대략 2년 전 | 0

답변 있음

Conversion to struct from double is not possible.

Check help fminsearch The last output (called z in your script) is a struct. So line 16 doesn't make sense.

Conversion to struct from double is not possible.

Check help fminsearch The last output (called z in your script) is a struct. So line 16 doesn't make sense.

대략 2년 전 | 0

답변 있음

Find local maxima and minima for 𝑦 = 𝑥^3/3 − 𝑥^2/ 2 − 2𝑥 + 1/ 3 and visualize the concavity

My understanding here. First you need to find the local min and max. Once you find them, you know the proximity. Or say you know...

Find local maxima and minima for 𝑦 = 𝑥^3/3 − 𝑥^2/ 2 − 2𝑥 + 1/ 3 and visualize the concavity

My understanding here. First you need to find the local min and max. Once you find them, you know the proximity. Or say you know...

대략 2년 전 | 0

| 수락됨

답변 있음

Fortran code in Matlab

Looks like VS has trouble to find the lib. https://community.intel.com/t5/Intel-Fortran-Compiler/cannot-open-file-ifconsol-lib...

Fortran code in Matlab

Looks like VS has trouble to find the lib. https://community.intel.com/t5/Intel-Fortran-Compiler/cannot-open-file-ifconsol-lib...

대략 2년 전 | 0

| 수락됨

답변 있음

How to run this differential MATLAB program

This is not the whole script, right? The first line is end The second line is px=[0 0 px 0 0 ]; Then what is px?

How to run this differential MATLAB program

This is not the whole script, right? The first line is end The second line is px=[0 0 px 0 0 ]; Then what is px?

대략 2년 전 | 0

답변 있음

Matlab 2020b "Simulink Onramp Failed to launch. Pattern not found"

Try this first before from your matlab command line window, re-installing: learning.simulink.internal.getEndPoint()

Matlab 2020b "Simulink Onramp Failed to launch. Pattern not found"

Try this first before from your matlab command line window, re-installing: learning.simulink.internal.getEndPoint()

대략 2년 전 | 0

답변 있음

Pass variable to .m file from app designer

Return z value from your funciton backtest.m: function z = backtest(x) z = x + 6; end Call this function from app design...

Pass variable to .m file from app designer

Return z value from your funciton backtest.m: function z = backtest(x) z = x + 6; end Call this function from app design...

대략 2년 전 | 0

| 수락됨

답변 있음

A question about Matlab class

Several issues here. Subclass of handle. This makes your life easier; obj is 'this'. All the none-static methods need to use o...

A question about Matlab class

Several issues here. Subclass of handle. This makes your life easier; obj is 'this'. All the none-static methods need to use o...

대략 2년 전 | 0

| 수락됨

답변 있음

Summing elements of a vector without a for loop

How about this: M=3; % you know your M v = ones(1, M^2); % your v vector vReshaped = reshape(v, M, M)'; % Note need this. ...

Summing elements of a vector without a for loop

How about this: M=3; % you know your M v = ones(1, M^2); % your v vector vReshaped = reshape(v, M, M)'; % Note need this. ...

대략 2년 전 | 1

| 수락됨

답변 있음

how to call python file in c s-function

How about this approach? From C code, you can call system command, right? Run your python script as system command. Use file as ...

how to call python file in c s-function

How about this approach? From C code, you can call system command, right? Run your python script as system command. Use file as ...

대략 2년 전 | 0

| 수락됨

답변 있음

Simulink crash in Ubuntu 20.04

Have you tried this approach: Installed a local copy of glibc of the recommended version. A local copy is not used by your OS, ...

Simulink crash in Ubuntu 20.04

Have you tried this approach: Installed a local copy of glibc of the recommended version. A local copy is not used by your OS, ...

대략 2년 전 | 0

답변 있음

Why this error?

Bitmap is two dimensional, right? It is a 2D matrix of integers, each integer for a pixel in the 2D plane. Can you view that pr...

Why this error?

Bitmap is two dimensional, right? It is a 2D matrix of integers, each integer for a pixel in the 2D plane. Can you view that pr...

대략 2년 전 | 0

답변 있음

How can I delete rows in which a specific value is present?

How about this? dataset = ones(100, 12); % use your own data instead here sz = size(dataset); rowCount = sz(1); for i=1:rowC...

How can I delete rows in which a specific value is present?

How about this? dataset = ones(100, 12); % use your own data instead here sz = size(dataset); rowCount = sz(1); for i=1:rowC...

대략 2년 전 | 1

| 수락됨

답변 있음

Analyzing a Large Amount of Data in a CSV file

The error is about your line 17. What do you want to do there? Do you mean eval(['cntry' num2str(j) '=A']);

Analyzing a Large Amount of Data in a CSV file

The error is about your line 17. What do you want to do there? Do you mean eval(['cntry' num2str(j) '=A']);

대략 2년 전 | 0

| 수락됨

답변 있음

How can I fill a big matrix when I have small matrices with different sizes in each iteration?

Do you know the max size? Can you initialize the max size to all 0s?

How can I fill a big matrix when I have small matrices with different sizes in each iteration?

Do you know the max size? Can you initialize the max size to all 0s?

대략 2년 전 | 0

| 수락됨

답변 있음

problem in calling out python script from matlab when i am calling the script from matlab its showing error in adafruit library ,it is in same directory . working in python

Try to add that folder into your PYTHONPATH env var.

problem in calling out python script from matlab when i am calling the script from matlab its showing error in adafruit library ,it is in same directory . working in python

Try to add that folder into your PYTHONPATH env var.

대략 2년 전 | 0

답변 있음

How to plot output y(t) of LTI system, where impulse response h(t) and input x(t) are given?

Do you mean: create a list of t compute y for the list of t above plot(t, y)

How to plot output y(t) of LTI system, where impulse response h(t) and input x(t) are given?

Do you mean: create a list of t compute y for the list of t above plot(t, y)

대략 2년 전 | 0

답변 있음

Can't use webread on nodejs local server in Matlab mobile

When you said "i used that function in Matlab mobile or Matlab on web browser", where do you run your server? You local laptop a...

Can't use webread on nodejs local server in Matlab mobile

When you said "i used that function in Matlab mobile or Matlab on web browser", where do you run your server? You local laptop a...

대략 2년 전 | 0

답변 있음

Transfer and write three lines into python: help

The numpy.sum doesn't take 'all' The for loop needs to be adjusted to 0-base import numpy as np x=np.array([5,31,41,51,61]) ...

Transfer and write three lines into python: help

The numpy.sum doesn't take 'all' The for loop needs to be adjusted to 0-base import numpy as np x=np.array([5,31,41,51,61]) ...

대략 2년 전 | 0

답변 있음

How can I use following code to select .txt files instead of .m file

Follow this link, you can set the filter: ``` [file,path] = uigetfile({'*.m';'*.slx';'*.mat';'*.*'},... ...

How can I use following code to select .txt files instead of .m file

Follow this link, you can set the filter: ``` [file,path] = uigetfile({'*.m';'*.slx';'*.mat';'*.*'},... ...

대략 2년 전 | 0

| 수락됨