Réponse apportée
Why am not getting any graph?
clc; clear all ; clc; clear; syms p; x = 13.61015; y = 13257; a = 5.14; b = 11.47; err1 = 0.000001; f = (x^3 + p^2*x^2 ...

presque 4 ans il y a | 1

Réponse apportée
How to use importdata to import the data from a csv file
Read about readtable.

presque 4 ans il y a | 1

Réponse apportée
Unidentified variable or function of x
function x=cake(p,q,x) a=diff(p,x) b=diff(q,x) c=exp(-1*int(p,x)) p2=diff(((a+b)*c),x)/((a+b)*c) q2=((a+b*c)*(-c)) r2=...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
How do I merge squares
T= [1 2 3 4 5 6] ; iwant = num2cell(T,2) ; iwant{1} iwant{2}

presque 4 ans il y a | 1

| A accepté

Réponse apportée
I don't know how to code this number triangle
n = [1 11 111 1111 11111 111111 1111111]; for i = 1 : length(n) x = num2str(n(i)^2); s = [blanks(length(n)-i) x]; ...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
Hi, I have data of temperature that need normalized, subtract by the mean temperature and divide by its standard deviation
If T is your array; just do: T_normalized = (T-mean(T))/std(T) ;

presque 4 ans il y a | 2

Réponse apportée
How to define plane in 3d cube. Intersection point of segment with plane in 3d cube
You define p0, p1, p2 and p3 as matrix arrays. function [I] = check_planes(x0,x1) p0 = zeros(1,3,6) ; p1 = zeros(1,3,6) ; ...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
Error using + Matrix dimensions must agree., can someone help me?
clear all; [Y,Fs] = wavread('here.wav'); Fs = 16000;%nilai default Fs=16000 %sound(Y,Fs) noise = randn(size(Y)); Y_noise = ...

presque 4 ans il y a | 1

Réponse apportée
How to read a table.txt from series of folders?
This question is asked multiple times. You may refer links: https://in.mathworks.com/matlabcentral/answers/401204-how-do-i-read...

presque 4 ans il y a | 1

Réponse apportée
aviread MATLAB function not found
It is not an inubilt function. Download the function from here: https://in.mathworks.com/matlabcentral/fileexchange/18559-avire...

presque 4 ans il y a | 1

Réponse apportée
Convert a struct with multiple fields into spreadsheet
REad about struct2table. After conversion write it into excel/ spreadsheet using writetable.

presque 4 ans il y a | 1

Réponse apportée
how to find f(x) when f(1) is given
g'(x) would be: g'(x) = f'(x)/x^3-3*f(x)/x^4 ; % remember uv rule So in the above substitute the given values: g' = 4/1^3-3...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
How to combine 2 function handles of different variables?
mu = @(n, dmu, mubar) mubar + n*dmu/4; f = @(t, mu) cos(2*pi*mu*t); fmu = @(x) f(mu)

presque 4 ans il y a | 2

Réponse apportée
How to find minimum value and its corresponding variables for a large dataset?
You need to initialize the variable Resuls for faster run. Check the below: H1=10; gamma=18; phi=30; count = 0; Results = z...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
Error: "filename" must be a string scalar or character vector.
Change this line [upperDir subDir 'n' num2str(i) '.txt'] to [upperDir,filesep,subDir,filesep,'n',num2str(i),'.txt'] Also ...

presque 4 ans il y a | 0

Réponse apportée
Concatenate multiple matrices by 3rd dimension using 'for' loop (considering a specific variable in netCDF files)
Folder = 'C:\Users\Matlab1\ncfiles'; Patternoffiles = fullfile(Folder, '*.nc'); ncfiles = dir(Patternoffiles); n = length(nc...

presque 4 ans il y a | 2

| A accepté

Réponse apportée
'Write a code to plot stresses in x, y plane' Airy's stress function was given and solved for the variables. I just don't know how to plot the sigma x,y and tau xy.
L=10; h=1; P=20; t=(3/12); x = linspace(0,L) ; y = linspace(0,L) ; [X,Y] = meshgrid(x,y) ; %Finding Constants a=...

presque 4 ans il y a | 1

Réponse apportée
Change color in 3d graphic scatter3
You need to provide the color data. a = scatter3(xdata,ydata,zdata,[],zdata,'filled'); colorbar

presque 4 ans il y a | 2

Réponse apportée
Connecttwo lines of code to one
t1 = datetime('now','TimeZone','local','Format',' HH:mm:ss ') ; t2 = datetime('now','TimeZone','local','Format',' HH:mm:ss ') ;...

presque 4 ans il y a | 1

Réponse apportée
how can i load multiple/all audio files(.wav) in matlab ? all files have different names.
audioFiles = dir('*.wav') ; N = length(audioFiles) ; for i = 1:N file - audioFiles(i).name ; % do what you want e...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
Is there any Matlab function to perform EEMD, CEEMD, MEMD?
REad about emd

presque 4 ans il y a | 1

Réponse apportée
How to fill arrays third column by matching first 2 columns
A=[1 5 0; 1 12 0; 4 5 0; 4 9 ...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
How to save set of images as logical images (0 and 1)
Try converiting logicals into double using double.

presque 4 ans il y a | 1

| A accepté

Réponse apportée
How to find the timestep in ode45?
Alreay you have time in T. When you gave [0:time], the timestep is 1. You may provide your required time difference dt, using: ...

presque 4 ans il y a | 1

Réponse apportée
Selecting a line of data from a 3D surface
Very much possible.... Read about interp2. Also have a look on improfile.

presque 4 ans il y a | 1

Réponse apportée
How to define point between two points in one line through function or any algorithms
Have a look on this: https://in.mathworks.com/matlabcentral/fileexchange/17751-straight-line-and-plane-intersection

presque 4 ans il y a | 1

| A accepté

Réponse apportée
form in separate table from text file
a = [5 0 0.0123 0.232 0.252 5 2 0.326 0.325 0.325 5 4 0.256 0.145 0.369 6 ...

presque 4 ans il y a | 0

Réponse apportée
How to run and save variables in a structures?
run('filename.m') S = whos ; save('Test.mat','S')

presque 4 ans il y a | 1

| A accepté

Réponse apportée
how can get the summation of element in the table
You can save the variables inside the for loop into an array and later you can do the operations you want. See the below example...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
read csv chart file in to matlab
T = readtable('myfile.csv') ;

presque 4 ans il y a | 0

Charger plus